# Hyprland Window Rules β€” ddubsOS ## 🧩 Tags and Classification - file-manager β€” Thunar, Nautilus, PCManFM-Qt - terminal β€” Ghostty, WezTerm, Alacritty, Kitty, kitty-dropterm - browser β€” Brave, Firefox, Chrome, Thorium/Cachy - video β€” VLC, mpv, Clapper - projects β€” VSCodium/VSCode - im β€” Discord, WebCord, Vesktop, Ferdium, WhatsApp, Telegram, Teams - obs β€” OBS Studio - games β€” gamescope, steam_app_* - gamestore β€” Steam, Lutris, Heroic - settings β€” various settings apps (nm-applet, pavucontrol, file-roller, rofi, etc.) ## πŸͺŸ Floating, Size, and Position - foot-floating β€” float, size 60% x 60%, center - Picture-in-Picture β€” float, 95%/75% opacity, pinned, keep aspect ratio, position at ~72%/7% - Authentication Required dialogs β€” float, center - Settings-tagged windows β€” float, size 70% x 70% - Ferdium β€” float, center, size 60% x 70% - Clapper β€” float - VSCodium setup dialogs β€” float (title negative rules) - Steam/Heroic non-main dialogs β€” float (title negative rules) - File chooser dialogs β€” float; size 70% x 60% (Open Files); float on save prompts ## 🎨 Visual Effects - noblur β€” games - content none β€” mpv (prevent black screen on maximize) - Opacity by tag: - browser: 1.0 / 1.0 - video: 1.0 / 1.0 - projects: 0.9 / 0.8 - im: 0.94 / 0.86 - file-manager: 0.9 / 0.8 - terminal: 1.0 / 0.8 - settings: 0.8 / 0.7 - Extra opacity tweaks: - gedit/GNOME Text Editor/mousepad: 0.8 / 0.7 - seahorse: 0.9 / 0.8 ## 🧭 Workspace Assignment - im* β€” workspace 3 - browser* β€” workspace 2 - obs* β€” workspace 10 ## πŸ§ͺ XWayland and Special Cases - Example targeted xwayland rule: noblur for class β€œresolve” on xwayland:1 ## 🌱 Environment (set via Hyprland) - NIXOS_OZONE_WL=1, NIXPKGS_ALLOW_UNFREE=1 - XDG_CURRENT_DESKTOP=Hyprland, XDG_SESSION_TYPE=wayland, XDG_SESSION_DESKTOP=Hyprland - GDK_BACKEND=wayland,x11, CLUTTER_BACKEND=wayland - QT_QPA_PLATFORM=wayland;xcb, QT_WAYLAND_DISABLE_WINDOWDECORATION=1, QT_AUTO_SCREEN_SCALE_FACTOR=1 - SDL_VIDEODRIVER=x11 (explicit) - MOZ_ENABLE_WAYLAND=1 - AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1 - GDK_SCALE=1, QT_SCALE_FACTOR=1 - EDITOR=nvim