diff --git a/niri/config.kdl b/niri/config.kdl index 68ad363..cdad7fb 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -369,6 +369,13 @@ window-rule { default-column-width { proportion 0.66667; } } +window-rule { + // Nautilus open dialog should be floating + match app-id="org.gnome.Nautilus" title=r#"^Open"# + + open-floating true +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -412,6 +419,7 @@ binds { // toggle notification panel Mod+Shift+N hotkey-overlay-title="Toggle notification window" { spawn "swaync-client" "-t"; } + XF86NotificationCenter hotkey-overlay-title="Toggle notification window" { spawn "swaync-client" "-t"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument in the end. // Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; } @@ -423,6 +431,7 @@ binds { XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; } + XF86Favorites allow-when-locked=true { spawn "playerctl" "play-pause"; } // Open/close the Overview: a zoomed-out view of workspaces and windows. // You can also move the mouse into the top-left hot corner,