2024-12-17 12:10:05 +00:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2024-11-21 09:24:15 +00:00
|
|
|
wayland.windowManager.hyprland.settings = with config.lib.stylix.colors; {
|
2024-12-03 14:20:37 +00:00
|
|
|
layerrule = [ "noanim, notifications" ];
|
2024-12-17 12:10:05 +00:00
|
|
|
windowrulev2 =
|
|
|
|
let
|
|
|
|
cl = "class:^";
|
|
|
|
tt = "title:^";
|
|
|
|
il = "initialClass:^";
|
|
|
|
it = "initialTitle:^";
|
|
|
|
in
|
|
|
|
[
|
|
|
|
"workspace 2 silent, ${cl}(firefox)$"
|
|
|
|
"workspace 2 silent, ${cl}(floorp)$"
|
|
|
|
"workspace 2 silent, ${cl}(zen-alpha)$"
|
|
|
|
"workspace 2 silent, ${cl}(zen-beta)$"
|
|
|
|
"workspace 3 silent, ${cl}(spotify)$"
|
|
|
|
"workspace 3 silent, ${il}(spotify)$"
|
|
|
|
"workspace 3 silent, ${tt}(Spotify Free)$"
|
|
|
|
"workspace 3 silent, ${it}(Spotify)$"
|
|
|
|
"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)$"
|
|
|
|
"workspace 9 silent, ${cl}(org.qbittorrent.qBittorrent)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# TERMINAL RULES
|
|
|
|
"float, ${cl}(termfloat)$"
|
|
|
|
"move center, ${cl}(termfloat)$"
|
|
|
|
"size 650 430, ${cl}(termfloat)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# FILE MANAGER
|
|
|
|
"float, ${cl}(tfm)$"
|
|
|
|
"move center, ${cl}(tfm)$"
|
|
|
|
"size 800 350, ${cl}(tfm)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# AYUGRAM
|
|
|
|
"minsize 540 680, ${cl}(com.ayugram)$" # SELF
|
|
|
|
"float, ${tt}(Media viewer)$" # VIEWER
|
|
|
|
"noanim, ${tt}(Media viewer)$"
|
|
|
|
"fullscreen, ${tt}(Media viewer)$"
|
|
|
|
"size 670 540, ${tt}(Media viewer)$"
|
|
|
|
"float, ${tt}(Choose Files)$" # CHOOSER
|
|
|
|
"size 650 450, ${tt}(Choose Files)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# XDG
|
|
|
|
"float, ${cl}(xdg-desktop-portal-gtk)$"
|
|
|
|
"size 807 570, ${cl}(xdg-desktop-portal-gtk)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# MPV
|
|
|
|
"nodim, ${cl}(mpv)$"
|
|
|
|
"float, ${cl}(anicliru)$"
|
|
|
|
"size 810 630, ${cl}(anicliru)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# ANIME
|
|
|
|
"bordercolor rgb(${base08}) rgb(${base09}) 45deg, ${cl}(anicliru)$"
|
2024-11-21 09:24:15 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# KOMIKKU
|
|
|
|
"pseudo, ${cl}(info.febvre.Komikku)$"
|
|
|
|
"size 700 980, ${cl}(info.febvre.Komikku)$"
|
2024-12-03 14:20:37 +00:00
|
|
|
|
2024-12-17 12:10:05 +00:00
|
|
|
# TORRENT
|
|
|
|
"float, ${cl}(org.qbittorrent.qBittorrent)$"
|
|
|
|
"pseudo, ${cl}(org.qbittorrent.qBittorrent)$"
|
|
|
|
"size 1020 740, ${cl}(org.qbittorrent.qBittorrent)$"
|
|
|
|
];
|
2024-11-21 09:24:15 +00:00
|
|
|
};
|
|
|
|
}
|