diff --git a/modules/wms/wayland/niri/config.kdl b/modules/wms/wayland/niri/config.kdl index 180da60..d87585a 100644 --- a/modules/wms/wayland/niri/config.kdl +++ b/modules/wms/wayland/niri/config.kdl @@ -115,6 +115,32 @@ window-rule { block-out-from "screen-capture" open-on-workspace "keepassxc" } +window-rule { + match app-id="unset" + open-floating true +} +window-rule { + match app-id="org.gnome.Nautilus" + open-floating true +} +window-rule { + match app-id="org.freedesktop.impl.portal.desktop.kde" + open-floating true +} + +// Fix discord screencasting +debug { + wait-for-frame-completion-in-pipewire +} +// Always focus the KeePassXC-Browser unlock dialog. +// +// This dialog opens parented to the KeePassXC window rather than the browser, +// so it doesn't get auto-focused by default. +window-rule { + match app-id="^org\\.keepassxc\\.KeePassXC$" title="^KeePassXC - Browser Access Request$" + match app-id="^org\\.keepassxc\\.KeePassXC$" title="^Unlock Database - KeePassXC$" + open-focused true +} hotkey-overlay { skip-at-startup }