diff options
Diffstat (limited to '.config/niri')
| -rw-r--r-- | .config/niri/config.kdl | 20 |
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 +} |
