diff --git a/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate b/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate index ea4e4a6..9575172 100644 --- a/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate +++ b/.config/hypr/conf.d/50-autostart.conf##hostname.viking-mate @@ -12,3 +12,10 @@ exec-once = hypridle exec-once = bash -lc 'command -v nm-applet >/dev/null && nm-applet &' exec-once = bash -lc 'command -v blueman-applet >/dev/null && blueman-applet &' +exec-once = pkill swayidle; swayidle \ + timeout 300 'brightnessctl set 25%' \ + timeout 600 'swaylock -f -c 000000' \ + timeout 600 'hyprctl dispatch dpms off' \ + resume 'hyprctl dispatch dpms on' \ + before-sleep 'swaylock -f -c 000000' +