aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/niri
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-03-27 14:34:33 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-03-27 14:34:33 +0300
commit5154e46eb45036ecb6f7e6cfe0e7dda5d3dfc5ec (patch)
treea0f134db945a81bd9e38a4c9d3aa16b6aafdd772 /dotfiles/.config/niri
parent9966647396e560552663d4ae0d4d28abdd94187b (diff)
downloadswayrice-5154e46eb45036ecb6f7e6cfe0e7dda5d3dfc5ec.tar.gz
swayrice-5154e46eb45036ecb6f7e6cfe0e7dda5d3dfc5ec.zip
wl-kbptr: keyboard mouse pointer controlniri
* Added (default) wl-kbptr config. * Added some basic binds to niri to use wl-kbptr.
Diffstat (limited to 'dotfiles/.config/niri')
-rw-r--r--dotfiles/.config/niri/config.kdl8
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index fa4b408..c55563f 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -374,10 +374,6 @@ binds {
// Most actions that you can bind here can also be invoked programmatically with
// `niri msg action do-something`.
- // Mod-Shift-/, which is usually the same as Mod-?,
- // shows a list of important hotkeys.
- Mod+Shift+Slash { show-hotkey-overlay; }
-
Mod+Return { spawn "alacritty"; }
Mod+D {
spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "window,drun,run";
@@ -391,6 +387,10 @@ binds {
Mod+X { spawn "lock-color"; }
Mod+Shift+X { spawn "lock-color" "screenon"; }
+ // Keyboard pointer control
+ Mod+V { spawn "wl-kbptr" "-o" "modes=floating,click" "-o" "mode_floating.source=detect"; }
+ Mod+Shift+V { spawn "wl-kbptr" "-o" "modes=tile,bisect"; }
+
// Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked.
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }