Improve formatting

This commit is contained in:
SebastianStork 2024-07-07 23:10:26 +02:00
parent ec3daba23b
commit 6003454c66
12 changed files with 3 additions and 21 deletions

View file

@ -4,7 +4,6 @@ let
in
assembleWrapper {
basePackage = pkgs.hypridle;
flags =
let
hypridle-config = pkgs.writeText "hypridle-config" ''
@ -13,18 +12,15 @@ assembleWrapper {
before_sleep_cmd = loginctl lock-session
after_sleep_cmd = hyprctl dispatch dpms on
}
listener {
timeout = 300
on-timeout= brightnessctl -s && brightnessctl -e set 10%
on-resume = brightnessctl -r
}
listener {
timeout = 600
on-timeout = loginctl lock-session
}
listener {
timeout = 610
on-timeout = hyprctl dispatch dpms off