mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: switched back to hyprland
This commit is contained in:
parent
dd99b3a827
commit
b0dc23c7c0
144 changed files with 1347 additions and 477 deletions
30
home/modules/hyprland/config/windowrulev2.nix
Executable file
30
home/modules/hyprland/config/windowrulev2.nix
Executable file
|
@ -0,0 +1,30 @@
|
|||
let
|
||||
blueman = "(.blueman-manager-wrapped)";
|
||||
easyeffects = "(com.github.wwmm.easyeffects)";
|
||||
nomacs = "(org.nomacs.ImageLounge)";
|
||||
mpv = "(mpv)";
|
||||
emote = "(emote)";
|
||||
proton = "(.protonvpn-app-wrapped)";
|
||||
|
||||
maxsizeWindows = [
|
||||
"maxsize 640x360, class:^${blueman}$"
|
||||
"maxsize 640x360, class:^${easyeffects}$"
|
||||
"maxsize 960x540, class:^${mpv}$"
|
||||
"maxsize 960x540, class:^${nomacs}$"
|
||||
"maxsize 1000x1000, class:^${proton}$"
|
||||
];
|
||||
floatWindows = builtins.map (x: "float, " + x) [
|
||||
"class:${blueman}"
|
||||
"class:${easyeffects}"
|
||||
"class:${emote}"
|
||||
"class:${mpv}"
|
||||
"class:${nomacs}"
|
||||
"class:${proton}"
|
||||
"title:^(Picture-in-Picture)$"
|
||||
];
|
||||
|
||||
pinWindows = builtins.map (x: "pin, " + x) [
|
||||
"title:^(Picture-in-Picture)$"
|
||||
];
|
||||
in
|
||||
maxsizeWindows ++ floatWindows ++ pinWindows
|
Loading…
Add table
Add a link
Reference in a new issue