summaryrefslogtreecommitdiff
path: root/.config/niri/config.kdl
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-21 23:18:06 +0200
committerewy <ewy0@protonmail.com>2026-05-21 23:18:06 +0200
commitffde9c98f50b7040300f6a73dc43b2cba3681bc3 (patch)
tree32e67e64aeb79d8b4efab373ab5dbfc4288501ef /.config/niri/config.kdl
parentc599236cc3ff79a61c8db05a744015439fdc307e (diff)
add colored notifications for mako and rely on systemd service instead of sway starting mako
Diffstat (limited to '.config/niri/config.kdl')
-rw-r--r--.config/niri/config.kdl20
1 files changed, 18 insertions, 2 deletions
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
+}