]> src.twobees.de Git - dotfiles.git/commitdiff
volume fix
authorTobias Sachs <git-pngdhxpf-ts@twobees.de>
Tue, 7 May 2024 09:05:19 +0000 (11:05 +0200)
committerTobias Sachs <git-pngdhxpf-ts@twobees.de>
Tue, 7 May 2024 09:05:19 +0000 (11:05 +0200)
stow/sway/.config/sway/config

index c55d09f3dee2ba5c21fdbb2fdf2847f07a5be9aa..e0feedc048473df193a4ac09f90201de1f4e26b0 100644 (file)
@@ -47,11 +47,13 @@ bindsym $mod+F11 exec "sway output DP-1 enable; sway output HDMI-A-1 disable"
 set $lock_cmd ~/.bin/lockscreen.sh
 exec swayidle -w \
           timeout 1200 $lock_cmd \
-          timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
+          timeout 600 '$lock_cmd DisplayOff' resume 'swaymsg "output * dpms on"' \
           before-sleep $lock_cmd
 
 bindsym $mod+Shift+x exec $lock_cmd
 
+exec ~/.bin/set-volume-balance.sh
+
 # This will lock your screen after 300 seconds of inactivity, then turn off
 # your displays after another 300 seconds, and turn your screens back on when
 # resumed. It will also lock your screen before your computer goes to sleep.