Files
omarchy-nix/modules/home-manager/hyprland/windows.nix
T
Henry Sipp cd4e9e7c0d Cleanup
2025-06-28 13:00:42 -05:00

37 lines
1.0 KiB
Nix

{
config,
pkgs,
...
}: {
wayland.windowManager.hyprland.settings = {
windowrule = [
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
"suppressevent maximize, class:.*"
# Force chromium into a tile to deal with --app bug
"tile, class:^(chromium)$"
# Just dash of transparency
"opacity 0.97 0.9, class:.*"
"opacity 1 0.97, class:^(chromium|google-chrome|google-chrome-unstable)$"
"opacity 0.97 0.9, initialClass:^(chrome-.*-Default)$ # web apps"
"opacity 1 1, initialClass:^(chrome-youtube.*-Default)$ # Youtube"
"opacity 1 1, class:^(zoom|vlc|org.kde.kdenlive|com.obsproject.Studio)$"
# Fix some dragging issues with XWayland
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
# Proper background blur for wofi
# Float in the middle for clipse clipboard manager
"float, class:(clipse)"
"size 622 652, class:(clipse)"
"stayfocused, class:(clipse)"
];
layerrule = [
"blur,wofi"
];
};
}