feat: change browser for librewolf, cleaning

This commit is contained in:
angeD 2022-05-16 14:46:31 +02:00
parent fbd9a94655
commit 7c64f4089f
2 changed files with 9 additions and 14 deletions

View File

@ -7,7 +7,7 @@ set $right l
set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $term alacritty
set $browser firefox
set $browser librewolf
set $files thunar
set $wallpapers $HOME/.config/wallpapers
set $lock swaylock -F -f -i $wallpapers/lock.png

View File

@ -1,11 +1,14 @@
# fix slow startup time
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Lock after $screen_timeout
# Turn off screen after $screem_timeout - 10
# Lock if screen off
xwayland force
# fix slow startup time
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec swayidle -w \
timeout $(($screen_timeout + 10)) "$lock" \
timeout $screen_timeout 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep "$lock"
# GTK theme
exec gsettings set org.gnome.desktop.interface gtk-theme "Materia-dark"
@ -21,11 +24,3 @@ exec /usr/libexec/polkit-gnome-authentication-agent-1
# before-sleep $lock
exec gammastep
exec nm-applet --indicator
exec flameshot
exec swayidle -w \
timeout $(($screen_timeout + 10)) "$lock" \
timeout $screen_timeout 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep "$lock"