minor niri tweaks

This commit is contained in:
danmac
2025-07-02 22:40:35 +09:30
parent 2fa50f2a73
commit 06bfbbdd37

View File

@@ -279,8 +279,9 @@ layout {
// This line starts waybar, a commonly used bar for Wayland compositors. // This line starts waybar, a commonly used bar for Wayland compositors.
// spawn-at-startup "waybar" // spawn-at-startup "waybar"
spawn-at-startup "~/.config/niri/sway_startup ~/Pictures/Nextcloud/IMG_8409-Enhanced-NR.jpg" spawn-at-startup "/home/danmac/.config/niri/sway_startup" "/home/danmac/Pictures/Nextcloud/IMG_8409-Enhanced-NR.jpg"
spawn-at-startup "xwayland-satellite" // spawn-at-startup "xwayland-satellite"
spawn-at-startup "cosmic-app-library"
environment { environment {
DISPLAY ":0" DISPLAY ":0"
@@ -335,6 +336,7 @@ window-rule {
match app-id=r#"zen$"# title="^Extension:" match app-id=r#"zen$"# title="^Extension:"
match app-id=r#"com.nextcloud.desktopclient.nextcloud$"# match app-id=r#"com.nextcloud.desktopclient.nextcloud$"#
match app-id=r#"mako"# match app-id=r#"mako"#
match app-id=r#"org.pulseaudio.pavucontrol"#
open-floating true open-floating true
} }
@@ -384,6 +386,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } Mod+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Mod+D hotkey-overlay-title="Run an Application: cosmic-apps" { spawn "cosmic-app-library"; } Mod+D hotkey-overlay-title="Run an Application: cosmic-apps" { spawn "cosmic-app-library"; }
Mod+Shift+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Mod+B hotkey-overlay-title="Open the Default Browser" { spawn "xdg-open" "http://"; } Mod+B hotkey-overlay-title="Open the Default Browser" { spawn "xdg-open" "http://"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock" "-f" "-i" "/tmp/blurred_IMG_8618-Enhanced-NR.jpg"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock" "-f" "-i" "/tmp/blurred_IMG_8618-Enhanced-NR.jpg"; }