hypr config cleaning... a little

This commit is contained in:
2024-03-31 23:44:56 +01:00
parent 405e1fd000
commit 895e34f69c
+1 -11
View File
@@ -22,13 +22,8 @@ env = SDL_VIDEODRIVER,wayland
#auto-runs
exec-once = /home/liamm/.config/hypr/xdg-portal-hyprland
#exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = dbus-update-activation-environment --systemd all
# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
# exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = wl-clipboard-history -t
exec-once = swww init
# exec-once = gammastep
exec-once = waybar
exec-once = wl-paste -p --watch wl-copy -p ''
@@ -46,15 +41,10 @@ exec-once = gsettings set $gnome-schema gtk-theme 'Arc Dark'
exec-once = gsettings set $gnome-schema icon-theme 'Arc Dark'
# exec-once = /usr/bin/emacs --daemon
exec-once = blueman-applet
# exec-once = blueman-applet
exec-once = nm-applet
exec-once = kdeconnect-indicator
# THE FOLLOWING LINES ARE A TEST TO GET IDLE LOCKING/SLEEP WORKING
# Turn monitors off if locked (swaylock running) and idle for 10 seconds
#exec-once = swayidle -w timeout 10 'if pgrep -x swaylock; then hyprctl dispatch dpms off; fi' resume 'hyprctl dispatch dpms on'
#
# Sleep if locked (swaylock running) and idle for 10 seconds
$lock = swaylock -C $HOME/.config/swaylock/config
exec-once = swayidle -w timeout 180 'if pgrep -x swaylock; then systemctl suspend; fi' before-sleep '$lock' &
# Lock screen after idle for 300s and turn monitors off after 330