Hyprland rules updating

This commit is contained in:
JuliaLange 2024-02-21 15:04:08 -08:00
parent 23d24bede8
commit 57b8fdb27a
4 changed files with 29 additions and 13 deletions

18
flake.lock generated
View file

@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1708045757, "lastModified": 1708193735,
"narHash": "sha256-UDFJzw2MJcd4oHk+xOPkmyM3u+UwrNuKBFsKAVQaoQQ=", "narHash": "sha256-6DmQo9n3mrgpCH9wtSia0dAHXzGmpCjOqG35S0QrxWQ=",
"owner": "Aylur", "owner": "Aylur",
"repo": "ags", "repo": "ags",
"rev": "4ac0dbb473918eda325143c2053bdd428f9708d4", "rev": "785f1a941a52c32d1cbe77a5eb935713fe45cddb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701728041, "lastModified": 1708031129,
"narHash": "sha256-x0pyrI1vC8evVDxCxyO6olOyr4wlFg9+VS3C3p4xFYQ=", "narHash": "sha256-EH20hJfNnc1/ODdDVat9B7aKm0B95L3YtkIRwKLvQG8=",
"owner": "langedev", "owner": "langedev",
"repo": "home-manager", "repo": "home-manager",
"rev": "ac7216918cd65f3824ba7817dea8f22e61221eaf", "rev": "3d6791b3897b526c82920a2ab5f61d71985b3cf8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -47,11 +47,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1708138027, "lastModified": 1708215223,
"narHash": "sha256-xTOrKOamqdVtW+v7j0bUTed8nqfijEMahJ7edgFtWL0=", "narHash": "sha256-5z+NPNoiWKoaz3M4LZJ2fP+N7Vl9XGwr4QAV8rh4l4o=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "cdcc5aba06f20005842cf966b23af50456dc7142", "rev": "683a4b07c514fa3c13cdf09e475283a69fcc7653",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -4,6 +4,7 @@ let rootPath = ./.; in
wayland.windowManager.hyprland.enable = true; wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
${builtins.readFile ./window_rules.conf} ${builtins.readFile ./window_rules.conf}
${builtins.readFile ./league_rules.conf}
${builtins.readFile ./settings.conf} ${builtins.readFile ./settings.conf}
${builtins.readFile ./nvidia.conf} ${builtins.readFile ./nvidia.conf}
${builtins.readFile ./keybinds.conf} ${builtins.readFile ./keybinds.conf}

View file

@ -0,0 +1,19 @@
# no opacity
windowrulev2 = opacity 1 1, class:^(league of legends.exe)$ # loading text
windowrulev2 = opacity 1 override, class:^(leagueclientux.exe)$ # client
windowrulev2 = opacity 1 override, class:^(leagueclient.exe)$ # game
# nice loading text
windowrulev2 = noblur, class:^(leagueclient.exe)$
windowrulev2 = noborder, class:^(leagueclient.exe)$
windowrulev2 = nofocus, class:^(leagueclient.exe)$
windowrulev2 = noshadow, class:^(leagueclient.exe)$
# gamer settings (set ingame to borderless)
windowrulev2 = immediate, class:^(league of legends.exe)$
windowrulev2 = fullscreen, class:^(league of legends.exe)$
# workspaces
windowrule = workspace name:game, leagueclient.exe
windowrule = workspace name:game, leagueclientux.exe
windowrule = workspace name:game, league of legends.exe

View file

@ -21,10 +21,6 @@ windowrule = workspace name:chat, discord
windowrule = workspace name:chat, Beeper windowrule = workspace name:chat, Beeper
windowrule = workspace name:game, lutris windowrule = workspace name:game, lutris
windowrule = workspace name:game, explorer.exe windowrule = workspace name:game, explorer.exe
windowrule = workspace name:game, leagueclient.exe
windowrule = workspace name:game, leagueclientux.exe
windowrule = workspace name:game, league of legends.exe
windowrule = immediate, league of legends.exe
windowrule = opacity 0.9 0.9,^(Alacritty)$ windowrule = opacity 0.9 0.9,^(Alacritty)$
windowrule = opacity 0.94 0.94,^(discord)$ windowrule = opacity 0.94 0.94,^(discord)$