summaryrefslogtreecommitdiff
path: root/.config/wayland
diff options
context:
space:
mode:
Diffstat (limited to '.config/wayland')
-rwxr-xr-x.config/wayland/winit6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/wayland/winit b/.config/wayland/winit
index 4bb25cb..1423d45 100755
--- a/.config/wayland/winit
+++ b/.config/wayland/winit
@@ -9,7 +9,7 @@ mako &
# audio
pipewire &
pipewire-pulse &
-sleep 3 && wireplumber &
+sleep 1 && wireplumber &
# wob
wobpipe="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/wobpipe" &&
@@ -17,8 +17,8 @@ mkfifo "$wobpipe" &&
tail -f "$wobpipe" | wob &
# screen lock
-disp="$(wlr-randr | grep -om1 '^[^ ]*')"
-timeout=60 # seconds >5
+disp="$(wlr-randr | grep -om1 '^[^ ]*')" &&
+timeout=60 && # seconds >5
swayidle \
timeout "$((timeout - 5))" "brightnessctl --save; brightnessctl set 10%-" \
resume "brightnessctl --restore" \