mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 08:43:52 +00:00
61 lines
1.8 KiB
Nix
61 lines
1.8 KiB
Nix
{ config, ... }:
|
|
let
|
|
cl = "class:^";
|
|
tl = "title:^";
|
|
it = "initialTitle:^";
|
|
in {
|
|
wayland.windowManager.hyprland.settings = with config.lib.stylix.colors; {
|
|
windowrulev2 = [
|
|
# WORKSPACE RULES
|
|
"workspace 2 silent, ${cl}(firefox)$"
|
|
"workspace 2 silent, ${cl}(floorp)$"
|
|
"workspace 2 silent, ${cl}(zen-alpha)$"
|
|
"workspace 3 silent, ${cl}(Spotify)$"
|
|
"workspace 3 silent, ${tl}(Spotify Free)$"
|
|
"workspace 3 silent, ${it}(Spotify Free)$"
|
|
"workspace 4 silent, ${cl}(com.ayugram)$"
|
|
"workspace 4 silent, ${cl}(io.github.tdesktop_x64.TDesktop)$"
|
|
"workspace 4 silent, ${cl}(vesktop)$"
|
|
"workspace 5 silent, ${cl}(obsidian)$"
|
|
"workspace 6 silent, ${cl}(anicli)$"
|
|
|
|
# TERMINAL RULES
|
|
"float, ${cl}(termfloat)$"
|
|
"size 650 430, ${cl}(termfloat)$"
|
|
"move center, ${cl}(termfloat)$"
|
|
|
|
# FILE MANAGER
|
|
"float, ${cl}(tfm)$"
|
|
"size 800 350, ${cl}(tfm)$"
|
|
"move center, ${cl}(tfm)$"
|
|
|
|
# AYUGRAM
|
|
"minsize 540 680, ${cl}(com.ayugram)$"
|
|
"float, ${tl}(Media viewer)$"
|
|
"noanim, ${tl}(Media viewer)$"
|
|
"fullscreen, ${tl}(Media viewer)$"
|
|
"size 670 540, ${tl}(Media viewer)$"
|
|
"float, ${tl}(Choose Files)$"
|
|
"size 650 450, ${tl}(Choose Files)$"
|
|
|
|
# XDG
|
|
"float, ${cl}(xdg-desktop-portal-gtk)$"
|
|
"size 807 570, ${cl}(xdg-desktop-portal-gtk)$"
|
|
|
|
# MPV
|
|
"nodim, ${cl}(mpv)$"
|
|
"float, ${cl}(anicliru)$"
|
|
"size 810 630, ${cl}(anicliru)$"
|
|
|
|
# ANIME
|
|
"bordercolor rgb(${base08}) rgb(${base09}) 45deg, ${cl}(anicliru)$"
|
|
|
|
# KOMIKKU
|
|
"size 700 980, ${cl}(info.febvre.Komikku)$"
|
|
"pseudo, ${cl}(info.febvre.Komikku)$"
|
|
];
|
|
layerrule = [ "noanim, notifications" ];
|
|
};
|
|
}
|
|
|