diff options
-rwxr-xr-x | .config/wayland/winit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/wayland/winit b/.config/wayland/winit index 96d1b7f..472740b 100755 --- a/.config/wayland/winit +++ b/.config/wayland/winit @@ -15,7 +15,7 @@ sleep 3 && wireplumber & disp="$(wlr-randr | grep -om1 '^[^ ]*')" timeout=60 # seconds >5 swayidle \ - timeout "$((timeout - 5))" " brightnessctl --save && brightnessctl set 10%" \ + timeout "$((timeout - 5))" "brightnessctl --save; brightnessctl set 10%-" \ resume "brightnessctl --restore" \ - timeout "$timeout" "wlr-randr --output ${disp} --off && waylock -init-color 0x000000" \ - resume "wlr-randr --output ${disp} --on && wlr-randr --output ${disp} --adaptive-sync enabled" & + timeout "$timeout" "wlr-randr --output ${disp} --off; waylock" \ + resume "wlr-randr --output ${disp} --on --adaptive-sync enabled" & |