From c2a4bb1be810551bc2fbc4103e5534fad398debb Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Fri, 12 May 2023 18:52:38 +0200 Subject: sway: inhibit swayidle on audio --- .config/sway/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 0437487..0ff1cbf 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -157,6 +157,8 @@ default_floating_border pixel hide_edge_borders smart smart_gaps on +font pango:DejaVu Sans Mono 10 + for_window [class="floating_window"] floating enable for_window [window_role="pop-up"] floating enable for_window [window_role="About"] floating enable @@ -185,6 +187,5 @@ exec swayidle -w \ timeout 360 'systemctl suspend' \ before-sleep 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec gammastep -l 55.7:12.6 - -font pango:DejaVu Sans Mono 10 -- cgit v1.2.3-70-g09d2