niri/config: add window rules to float windows; fix screencasting
This commit is contained in:
parent
adc4bd9f3c
commit
c0aa4f2f8f
1 changed files with 26 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue