From 78f58a11e50c8ea85bcfe87580817f99788a4c9e Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Wed, 21 Jun 2023 01:25:24 -0400 Subject: [PATCH] Delay between turning on displays and kanshi reload --- dot_local/bin/executable_swayidle-launcher.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_local/bin/executable_swayidle-launcher.tmpl b/dot_local/bin/executable_swayidle-launcher.tmpl index 35c7423..bca9ba6 100644 --- a/dot_local/bin/executable_swayidle-launcher.tmpl +++ b/dot_local/bin/executable_swayidle-launcher.tmpl @@ -25,7 +25,7 @@ swayidle -w \ swayidle -w \ timeout 300 'waylock-launcher' \ timeout 900 'wlr-randr --output DP-1 --off --output DP-2 --off' \ - resume 'wlr-randr --output DP-1 --on --output DP-2 --on && kanshictl reload' \ + resume 'wlr-randr --output DP-1 --on --output DP-2 --on && sleep 2 && kanshictl reload' \ 2>&1 | tee -a "$LOG_FILE" & disown {{- else }} # lock after 5m