86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
# game_workspace.conf
|
|
# for things related to the steam and game workspaces
|
|
|
|
# window rules
|
|
windowrule {
|
|
name = steam
|
|
match:class = ^([sS]team)$
|
|
match:title = ^([sS]team)$
|
|
workspace = 10 silent
|
|
tile = on
|
|
}
|
|
|
|
# key binds
|
|
$mainMod = SUPER
|
|
bind = $mainMod, G, focuswindow, class:^(gamescope|steam)
|
|
|
|
# set rule for games
|
|
$gamerule = workspace 5, render_unfocused on, fullscreen on
|
|
#windowrule = fullscreen, content:game
|
|
#windowrule = workspace 5, content:game
|
|
#windowrule = renderunfocused, content:game
|
|
|
|
$game_class = ^steam_app_\d+$|^gamescope$|^Minecraft.*|^factorio$|^org\.libretro\.RetroArch$|^dolphin-emu$|^Slay\ the\ Spire$|^Baba\ Is\ You$|^.*\.exe$|^.*\.x86_64$|^Necesse.*|^dotnet$
|
|
|
|
#windowrule {
|
|
# name = game
|
|
# match:class = $game_class
|
|
# fullscreen = on
|
|
# workspace = 5
|
|
# render_unfocused = on
|
|
#}
|
|
#
|
|
#windowrule {
|
|
# name = xwayland
|
|
# match:xwayland = true
|
|
# workspace = 5
|
|
# render_unfocused = on
|
|
#}
|
|
|
|
# set games and customizations on top
|
|
|
|
# steam apps
|
|
windowrule = $gamerule, match:class ^steam_app_\d+$
|
|
|
|
windowrule = $gamerule, match:class $game_class
|
|
|
|
# gamescope
|
|
windowrule = $gamerule, match:class ^(gamescope)$
|
|
|
|
# Minecraft
|
|
windowrule = $gamerule, match:class ^Minecraft.*
|
|
|
|
# factorio
|
|
windowrule = $gamerule, match:class ^(factorio)$
|
|
|
|
# RetroArch flatpak
|
|
windowrule = $gamerule, match:class ^(org\.libretro\.RetroArch)$
|
|
|
|
# dolphin emulator
|
|
windowrule = $gamerule, match:class ^(dolphin-emu)$
|
|
|
|
# Slay the Spire
|
|
windowrule = $gamerule, match:class ^(Slay the Spire)$
|
|
|
|
# Baba Is You
|
|
windowrule = $gamerule, match:class ^(Baba Is You)$
|
|
|
|
# .exe games in wayland mode
|
|
windowrule = $gamerule, match:class ^.*(\.exe)$
|
|
|
|
# some native games with .x86_64 class
|
|
windowrule = $gamerule, match:class ^.*(\.x86_64)$
|
|
|
|
# launcher.exe for warframe as floating
|
|
windowrule = float on, workspace 5, match:class ^launcher\.exe$
|
|
|
|
# necesse
|
|
windowrule = tile on, match:class ^(Necesse).*
|
|
windowrule = $gamerule, match:class ^(Necesse).*
|
|
|
|
# move task bar stuff to workspace 4
|
|
windowrule = float on, workspace 4 silent, match:class ^explorer\.exe$
|
|
|
|
# Terraria
|
|
windowrule = $gamerule, match:class ^(dotnet)$
|