mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
chore: trying gnome again
This commit is contained in:
parent
2ede55a7ee
commit
616c51118f
105 changed files with 101 additions and 15 deletions
132
home/modules/gui/desktop/hypr/hyprland/config/windowrulev2.nix
Executable file
132
home/modules/gui/desktop/hypr/hyprland/config/windowrulev2.nix
Executable file
|
@ -0,0 +1,132 @@
|
|||
let
|
||||
blueman = "(.blueman-manager-wrapped)";
|
||||
calculator = "(org.gnome.Calculator)";
|
||||
easyeffects = "(com.github.wwmm.easyeffects)";
|
||||
firefox = "(firefox)";
|
||||
nomacs = "(org.nomacs.ImageLounge)";
|
||||
mpv = "(mpv)";
|
||||
vlc = "(vlc)";
|
||||
emote = "(emote)";
|
||||
flameshot = "(flameshot)";
|
||||
bitwarden = "(.*Bitwarden.*)";
|
||||
save = "(.*Enter name of file to save to….*)";
|
||||
picture = "(.*Picture-in-Picture.*)";
|
||||
discord-popout = "(.*Discord Popout.*)";
|
||||
upload = "(.*File Upload.*)";
|
||||
signal = "(signal)";
|
||||
vesktop = "(vesktop)";
|
||||
code = "(code)";
|
||||
feishin = "(feishin)";
|
||||
steam = "(steam)";
|
||||
kdenlive = "(org.kde.kdenlive)";
|
||||
shotcut = "(shotcut)";
|
||||
scrcpy = "(.scrcpy-wrapped)";
|
||||
battle = "(.*Battle.net.*)";
|
||||
|
||||
maxsizeWindows = [
|
||||
"maxsize 720 400, class:^${blueman}$"
|
||||
"maxsize 360 500, class:^${calculator}$"
|
||||
"maxsize 720 400, class:^${easyeffects}$"
|
||||
"maxsize 720 400, class:^${scrcpy}$"
|
||||
"minsize 720 400, class:^${scrcpy}$"
|
||||
"maxsize 720 400, class:^${mpv}$"
|
||||
"maxsize 720 400, class:^${vlc}$"
|
||||
"maxsize 640 360, class:^${nomacs}$"
|
||||
"maxsize 800 450, title:^${bitwarden}$"
|
||||
"maxsize 720 400, title:^${picture}$"
|
||||
"maxsize 720 400, title:^${save}$"
|
||||
"maxsize 720 400, title:^${discord-popout}$"
|
||||
"maxsize 1280 720, title:^${battle}$"
|
||||
"minsize 1280 720, title:^${battle}$"
|
||||
"maxsize 1280 720, title:^${upload}$"
|
||||
"minsize 1280 720, title:^${upload}$"
|
||||
];
|
||||
|
||||
floatWindows = builtins.map (x: "float, " + x) [
|
||||
"class:^${blueman}$"
|
||||
"class:^${calculator}$"
|
||||
"class:^${easyeffects}$"
|
||||
"class:^${emote}$"
|
||||
"class:^${mpv}$"
|
||||
"class:^${vlc}$"
|
||||
"class:^${nomacs}$"
|
||||
"class:^${flameshot}$"
|
||||
"class:^${scrcpy}$"
|
||||
"title:^(${picture})$"
|
||||
"title:^(${discord-popout})$"
|
||||
"title:^${bitwarden}$"
|
||||
"title:^${save}$"
|
||||
"title:^${battle}$"
|
||||
"title:^${upload}$"
|
||||
];
|
||||
|
||||
pinWindows = builtins.map (x: "pin, " + x) [
|
||||
"title:^${bitwarden}$"
|
||||
"title:^${picture}$"
|
||||
"title:^${discord-popout}$"
|
||||
];
|
||||
|
||||
idleInhibit = builtins.map (x: "idleinhibit, " + x) [
|
||||
"fullscreen, class:^${firefox}$"
|
||||
];
|
||||
|
||||
workspaceInit1 = builtins.map (x: "workspace 1 silent, " + x) [
|
||||
"class:^${signal}$"
|
||||
"class:^${vesktop}$"
|
||||
];
|
||||
|
||||
workspaceInit2 = builtins.map (x: "workspace 2 silent, " + x) [
|
||||
"class:^${code}$"
|
||||
# "class:^${firefox}$"
|
||||
];
|
||||
|
||||
workspaceInit3 = builtins.map (x: "workspace 3 silent, " + x) [
|
||||
"class:^${steam}$"
|
||||
"class:^${shotcut}$"
|
||||
];
|
||||
|
||||
workspaceInit4 = builtins.map (x: "workspace 4 silent, " + x) [
|
||||
"class:^${feishin}$"
|
||||
"class:^${scrcpy}$"
|
||||
];
|
||||
|
||||
centerWindows = builtins.map (x: "center, " + x) [
|
||||
"class:^${blueman}$"
|
||||
"class:^${calculator}$"
|
||||
"class:^${easyeffects}$"
|
||||
"class:^${emote}$"
|
||||
"class:^${mpv}$"
|
||||
"class:^${vlc}$"
|
||||
"class:^${nomacs}$"
|
||||
"class:^${flameshot}$"
|
||||
"class:^${scrcpy}$"
|
||||
"title:^(${picture})$"
|
||||
"title:^(${discord-popout})$"
|
||||
"title:^${bitwarden}$"
|
||||
"title:^${save}$"
|
||||
"title:^${battle}$"
|
||||
"title:^${upload}$"
|
||||
];
|
||||
|
||||
opaqueWindows = builtins.map (x: "opaque, " + x) [
|
||||
"class:^${firefox}$"
|
||||
"class:^${kdenlive}$"
|
||||
"class:^(krita)$"
|
||||
"class:^${shotcut}$"
|
||||
"class:^${mpv}$"
|
||||
"class:^(Brave-browser)$"
|
||||
"class:^(Gimp-2.10)$"
|
||||
"class:^(org.kde.okular)$"
|
||||
"class:^${vlc}$"
|
||||
];
|
||||
in
|
||||
maxsizeWindows
|
||||
++ floatWindows
|
||||
++ pinWindows
|
||||
++ idleInhibit
|
||||
++ workspaceInit1
|
||||
++ workspaceInit2
|
||||
++ workspaceInit3
|
||||
++ workspaceInit4
|
||||
++ centerWindows
|
||||
++ opaqueWindows
|
Loading…
Add table
Add a link
Reference in a new issue