From 5154e46eb45036ecb6f7e6cfe0e7dda5d3dfc5ec Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Fri, 27 Mar 2026 14:34:33 +0300 Subject: wl-kbptr: keyboard mouse pointer control * Added (default) wl-kbptr config. * Added some basic binds to niri to use wl-kbptr. --- dotfiles/.config/niri/config.kdl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dotfiles/.config/niri') 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+"; } -- cgit v1.2.3