update(hyprland): switched to hyprland 0.55.1

This commit is contained in:
kenji
2026-05-28 12:12:21 -05:00
parent 91f91212db
commit b5f2538c19
18 changed files with 157 additions and 146 deletions
+28 -28
View File
@@ -33,16 +33,16 @@
];
mkGameRules = selector: [
"monitor ${gamingMonitor}, ${selector}"
"fullscreen, ${selector}"
"immediate, ${selector}"
"tile, ${selector}"
"match:${selector}, monitor ${gamingMonitor}"
"match:${selector}, fullscreen on"
"match:${selector}, immediate on"
"match:${selector}, tile on"
];
stayFocusedRules = lib.flatten (map (
game: [
"stayfocused, title:^(${game})$"
"stayfocused, class:^(${game})$"
"match:title ^(${game})$, stay_focused on"
"match:class ^(${game})$, stay_focused on"
]
)
stayFocusedGames);
@@ -73,7 +73,7 @@ in {
];
exec-once = [
"[workspace special:steam silent] uwsm app -- steam"
"[workspace special:steam silent] steam"
];
bindd = [
@@ -83,44 +83,44 @@ in {
"SUPER SHIFT, G, Move to Gaming Workspace, movetoworkspace, name:gaming"
];
windowrulev2 =
windowrule =
[
"plugin:hyprbars:nobar, class:^(steam)$"
"plugin:hyprbars:nobar, class:^(steam_app_\\d+)$"
"match:class ^(steam)$, hyprbars:no_bar on"
"match:class ^(steam_app_\\d+)$, hyprbars:no_bar on"
# --- STEAM GENERAL RULES ---
# Default ALL steam class windows to float. This catches all dialogs & properties windows.
"float, class:^(steam)$"
"match:class ^(steam)$, float on"
# Suppress focus stealing from dialogs/etc.
"noinitialfocus, class:^(steam)$"
"suppressevent activate fullscreen maximize, class:^(steam)$"
"match:class ^(steam)$, no_initial_focus on"
"match:class ^(steam)$, suppress_event activate fullscreen maximize"
# --- STEAM CLIENT OVERRIDE ---
# Override the float for the main Steam client, tile it, and move it to the special workspace.
"tile, class:^(steam)$"
"workspace special:steam, class:^(steam)$"
"match:class ^(steam)$, tile on"
"match:class ^(steam)$, workspace special:steam"
# --- STEAM GAME OVERRIDES ---
# Override the float for actual games and move them to the gaming workspace.
# 1. Auto-detected steam_app games (like Deadlock).
"monitor ${gamingMonitor}, class:^(steam_app_\\d+)$"
"tile, class:^(steam_app_\\d+)$"
"fullscreen, class:^(steam_app_\\d+)$"
"immediate, class:^(steam_app_\\d+)$"
"workspace name:gaming, class:^(steam_app_\\d+)$"
"match:class ^(steam_app_\\d+)$, monitor ${gamingMonitor}"
"match:class ^(steam_app_\\d+)$, tile on"
"match:class ^(steam_app_\\d+)$, fullscreen on"
"match:class ^(steam_app_\\d+)$, immediate on"
"match:class ^(steam_app_\\d+)$, workspace name:gaming"
# 2. Behavior-detected manual games (e.g. ARC Raiders).
# This moves any steam game to the gaming workspace and tiles it when it becomes fullscreen.
"tile, class:^(steam)$, fullscreen:1"
"workspace name:gaming, class:^(steam)$, fullscreen:1"
"match:class ^(steam)$, match:fullscreen true, tile on"
"match:class ^(steam)$, match:fullscreen true, workspace name:gaming"
]
# Other auto-detected non-steam games
++ (mkGameRules "class:^(gamescope)$")
++ (mkGameRules "class:^(lutris)$")
++ (mkGameRules "class:^(heroic)$")
++ (mkGameRules "class:^wine-.*$")
++ (mkGameRules "title:^Wine .*$")
++ (mkGameRules "initialTitle:^(?i)godot.*$")
++ (mkGameRules "class ^(gamescope)$")
++ (mkGameRules "class ^(lutris)$")
++ (mkGameRules "class ^(heroic)$")
++ (mkGameRules "class ^wine-.*$")
++ (mkGameRules "title ^Wine .*$")
++ (mkGameRules "initial_title ^(?i)godot.*$")
# ++ [
# "monitor 0, initialTitle:^(?i)godot.*$"
# "fullscreen, initialTitle:^(?i)godot.*$"
+5 -5
View File
@@ -42,14 +42,14 @@ in {
"SUPER SHIFT, M, Move to Music Workspace, movetoworkspace, name:music"
];
windowrulev2 = [
windowrule = [
# --- MUSIC RULES (Jellyfin-TUI) ---
"workspace name:music silent, title:^(jellyfin-tui)$"
"workspace name:music silent, initialTitle:^(jellyfin-tui)$"
"match:title ^(jellyfin-tui)$, workspace name:music silent"
"match:initial_title ^(jellyfin-tui)$, workspace name:music silent"
# --- CAVA RULES ---
"workspace name:music silent, title:^(cava)$"
"workspace name:music silent, initialTitle:^(cava)$"
"match:title ^(cava)$, workspace name:music silent"
"match:initial_title ^(cava)$, workspace name:music silent"
];
};
}
+2 -2
View File
@@ -8,11 +8,11 @@
enable = true;
settings = {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.uwsm}/bin/start-hyprland";
user = "${myConfig.nixos.username}";
};
default_session = {
command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
command = "${pkgs.tuigreet}/bin/tuigreet --time --remember --cmd start-hyprland";
};
};
};