64 lines
1.8 KiB
Nix
64 lines
1.8 KiB
Nix
{
|
|
wayland.windowManager.hyprland.settings = {
|
|
windowrulev2 = [
|
|
# only allow shadows for floating windows
|
|
"noshadow, floating:0"
|
|
|
|
"float,class:udiskie"
|
|
|
|
# wlogout
|
|
"fullscreen,class:wlogout"
|
|
"fullscreen,title:wlogout"
|
|
"noanim, title:wlogout"
|
|
|
|
# spotify
|
|
"tile, title:Spotify"
|
|
"tile, class:^(Spotify)$"
|
|
|
|
# steam settings window
|
|
"float, title:^(Steam Settings)$"
|
|
|
|
# telegram media viewer
|
|
"float, title:^(Media viewer)$"
|
|
|
|
# bitwarden
|
|
"float,class:Bitwarden"
|
|
"size 800 600,class:Bitwarden"
|
|
|
|
"idleinhibit focus, class:^(mpv)$"
|
|
"idleinhibit focus,class:foot"
|
|
|
|
# firefox
|
|
"idleinhibit fullscreen, class:^(firefox)$"
|
|
"float,title:^(Firefox — Sharing Indicator)$"
|
|
"move 0 0,title:^(Firefox — Sharing Indicator)$"
|
|
"float, title:^(Picture-in-Picture)$"
|
|
"pin, title:^(Picture-in-Picture)$"
|
|
|
|
# thunderbird
|
|
"workspace special silent, title:^(Write.*- Thunderbird)$"
|
|
|
|
# pavucontrol
|
|
"float,class:pavucontrol"
|
|
"float,title:^(Volume Control)$"
|
|
"size 800 600,title:^(Volume Control)$"
|
|
"move 75 44%,title:^(Volume Control)$"
|
|
"float, class:^(imv)$"
|
|
|
|
# Helldivers 2
|
|
"forceinput,class:^(steam_app_553850)$"
|
|
|
|
# throw sharing indicators away
|
|
"workspace special silent, title:^(Firefox — Sharing Indicator)$"
|
|
"workspace special silent, title:^(.*is sharing (your screen|a window)\.)$"
|
|
|
|
# EA launcher puts a tiny window in the current workspae
|
|
# throw it away
|
|
"workspace special silent, title:^(title:Wine System Tray)$"
|
|
|
|
"workspace 3 silent, class:^(Spotify)$"
|
|
"workspace 4, title:^(.*(Disc|WebC)ord.*)$"
|
|
"workspace 10 silent, class:^(Nextcloud)$"
|
|
];
|
|
};
|
|
}
|