Add some better idle setup for sway
parent
de58407231
commit
14bf4411ce
|
@ -14,6 +14,8 @@ assign [app_id="eclipse"] $ide_workspace
|
|||
assign [class="octave-gui"] $ide_workspace
|
||||
assign [instance="vim"] $editor_workspace
|
||||
assign [instance="download"] $ongoing_operations
|
||||
assign [class="steam"] $ongoing_operations
|
||||
assign [class="steam_app_*"] $ongoing_operations
|
||||
assign [class="Godot"] $ide_workspace
|
||||
assign [class="FreeTube"] $music_workspace
|
||||
|
||||
|
|
|
@ -2,9 +2,4 @@
|
|||
bindsym $alt+L exec 'swaylock'
|
||||
|
||||
# IDLE CONFIG
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaylock' \
|
||||
timeout 330 'swaymsg "output * power off"' \
|
||||
resume 'swaymsg "output * power on"; openrgb -p ~/.config/OpenRGB/full_cyan.orp' \
|
||||
timeout 600 'openrgb -b 0 -m off; systemctl suspend' \
|
||||
before-sleep 'swaylock; playerctl pause'
|
||||
exec swayidle -w
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
for_window [title="Steam Big Picture Mode"] inhibit_idle fullscreen
|
||||
for_window [app_id="firefox"] inhibit_idle fullscreen
|
||||
for_window [class="steam_app_*"] inhibit_idle fullscreen
|
Loading…
Reference in New Issue