From ffde9c98f50b7040300f6a73dc43b2cba3681bc3 Mon Sep 17 00:00:00 2001 From: ewy Date: Thu, 21 May 2026 23:18:06 +0200 Subject: add colored notifications for mako and rely on systemd service instead of sway starting mako --- .config/niri/config.kdl | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to '.config/niri') diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 0b5b5da..13f0267 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -15,6 +15,7 @@ input { mouse { accel-profile "flat" + accel-speed 0.5 } warp-mouse-to-focus @@ -190,8 +191,8 @@ binds { // Note: the entire command goes as a single argument in the end. // Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; } - XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIOSINK@" "0.1+"; } - XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } + XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; } + XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"; } 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"; } @@ -381,6 +382,7 @@ binds { // Mod+Shift+Space { switch-layout "prev"; } Print { screenshot; } + Super+Print { screenshot; } Ctrl+Print { screenshot-screen; } Alt+Print { screenshot-window; } @@ -402,3 +404,17 @@ binds { // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } } + +window-rule { + match app-id="kitty" + default-window-height { fixed 400; } +} + +window-rule { + match app-id="firefox" + open-maximized true +} + +output "LG Electronics LG ULTRAGEAR+ 303NTZN3Z085" { + variable-refresh-rate +} -- cgit v1.3.1