Added idle inhibition rules.

This commit is contained in:
Sheldon Lee 2022-05-30 23:51:10 +08:00
parent 268732dd07
commit e8f834f630

View File

@ -333,5 +333,8 @@ for_window [class="discord"] move container to workspace 3:s
assign [class="Steam"] workspace 4:t
# Inhibit swayidle when discord is focused. Usefull when watching stream.
for_window [class="discord"] inhibit_idle focus
# Space Games, as joystick usage without mouse and keyboard count as idle.
for_window [class="steam_app_359320"] inhibit_idle focus
for_window [class="starcitizen.exe"] inhibit_idle focus
include /etc/sway/config.d/*