From fdd9bae3ee6c08e58b410e5514597131188d5936 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 3 May 2023 12:07:31 +0530 Subject: winit: properly parallelize tasks --- .config/wayland/winit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.config/wayland/winit') 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" \ -- cgit v1.2.3