Initial commit
This commit is contained in:
58
dot_config/hypr/hyprland.conf.d/game_workspace.conf
Normal file
58
dot_config/hypr/hyprland.conf.d/game_workspace.conf
Normal file
@@ -0,0 +1,58 @@
|
||||
# game_workspace.conf
|
||||
|
||||
# steam_workspace.conf
|
||||
# for things related to the steam workspace
|
||||
|
||||
# workspace number
|
||||
$game-workspace-number = 5
|
||||
|
||||
# create the workspace
|
||||
# workspace = name:steam, monitor:DP-1, persistent:true
|
||||
|
||||
#exec-once = steam %U
|
||||
# window rules
|
||||
windowrule = workspace 9 silent, title:^(Steam)$
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, G, focuswindow, class:^(gamescope|steam)
|
||||
#bind = $mainMod SHIFT, G, movetoworkspace, name:steam
|
||||
|
||||
# To put the window rules for the game workspace
|
||||
|
||||
# steam apps
|
||||
#windowrule = fullscreen, class:^steam_app_\d+$
|
||||
windowrule = workspace $game-workspace-number silent, class:^steam_app_\d+$
|
||||
|
||||
# gamescope
|
||||
windowrule = fullscreen, class:^(gamescope)$
|
||||
windowrule = workspace $game-workspace-number silent, class:^(gamescope)$
|
||||
|
||||
# Minecraft
|
||||
windowrule = workspace $game-workspace-number, class:^Minecraft.*
|
||||
|
||||
# factorio
|
||||
windowrule = workspace $game-workspace-number, class:^(factorio)$
|
||||
|
||||
# RetroArch flatpak
|
||||
windowrule = workspace $game-workspace-number, class:^(org.libretro.RetroArch)$
|
||||
|
||||
# dolphin emulator
|
||||
windowrule = workspace $game-workspace-number, class:^(dolphin-emu)$
|
||||
|
||||
# Slay the Spire
|
||||
windowrule = workspace $game-workspace-number, class:^(Slay the Spire)$
|
||||
|
||||
windowrule = workspace $game-workspace-number, class:^(helldivers2.exe)$
|
||||
windowrule = workspace $game-workspace-number, class:^(monsterhunterwilds.exe)$
|
||||
|
||||
# Terraria
|
||||
windowrule = workspace $game-workspace-number, class:^(dotnet)$
|
||||
windowrule = fullscreen, class:^(dotnet)$
|
||||
|
||||
# prevent idle for all programs above
|
||||
#windowrule = idleinhibit fullscreen, class:^(gamescope)$
|
||||
#windowrule = idleinhibit fullscreen, class:^steam_app_\d+$
|
||||
#windowrule = idleinhibit fullscreen, class:^Minecraft.*
|
||||
#windowrule = idleinhibit focus, class:^(factorio)
|
||||
#windowrule = idleinhibit focus, class:^(Slay the Spire)$
|
Reference in New Issue
Block a user