From 3e8943104eb9fdaace82c316e93bfdb22a7f3e99 Mon Sep 17 00:00:00 2001 From: VikingOwl Date: Fri, 19 Sep 2025 18:26:10 +0200 Subject: [PATCH] updated hyprland --- .../hypr/conf.d/50-autostart.conf##hostname.viking-mate | 7 +++++++ 1 file changed, 7 insertions(+) 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' +