summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-05-12 18:52:38 +0200
committerAdam Stück <adam@adast.xyz>2023-05-12 18:52:38 +0200
commitc2a4bb1be810551bc2fbc4103e5534fad398debb (patch)
tree74d2f9fdf180ce873ac8d73fdcecebdd545580fd
parentba1b5dc4c0ca76c62a7c44c2435d1629d6a47d06 (diff)
sway: inhibit swayidle on audio
-rw-r--r--.config/sway/config5
1 files 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