Fix and re-enable suppressing certain fullscreen/maximise events

Add idleinhibit criteria to watching videos fullscreen (firefox or
clapper), or playing games (based on steam_app or Minecraft)
This commit is contained in:
Evie Litherland-Smith 2024-10-29 11:54:03 +00:00
parent 30fe4d0dc6
commit 23bff7fb9d

View file

@ -302,9 +302,14 @@
"size 800 600, title:Open Files,class:electron"
"center, title:Open Files,class:electron"
# Inhibit idle when watching videos
"idleinhibit fullscreen, class:firefox|com.github.rafostar.Clapper"
# Inhibit idle when playing games
"idleinhibit always, class:(steam_app|Minecraft).*"
# LibreOffice
# "nofullscreenrequest, class:(libreoffice|soffice)(.*)"
# "nomaximizerequest, class:(libreoffice|soffice)(.*)"
"suppressevent fullscreen maximize, class:(libreoffice|soffice)(.*)"
"float, title:Open,class:(libreoffice|soffice)(.*)"
# Steam
@ -316,8 +321,7 @@
"size 800 600, title:Steam Settings,class:steam"
# Remmina / NoMachine
# "nofullscreenrequest, class:org.remmina.Remmina|Nxplayer.bin"
# "nomaximizerequest, class:org.remmina.Remmina|Nxplayer.bin"
"suppressevent fullscreen maximize, class:org.remmina.Remmina|Nxplayer.bin"
"float, title:Remmina Remote Desktop Client, class:org.remmina.Remmina"
"center, title:Remmina Remote Desktop Client, class:org.remmina.Remmina"
];