From 617c3b29dbf03322ef3ccb0cd9663532e94adb68 Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Thu, 6 Nov 2025 22:29:00 -0800 Subject: add custom picker keybinds Adds - picker for clipboard history - picker for emojis - picker for all unicode characters on system --- dot-config/niri/config.kdl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'dot-config') diff --git a/dot-config/niri/config.kdl b/dot-config/niri/config.kdl index 59d7a1b..ad7dc34 100644 --- a/dot-config/niri/config.kdl +++ b/dot-config/niri/config.kdl @@ -543,7 +543,7 @@ binds { Mod+C { center-column; } // Center all fully visible columns on screen. - Mod+Ctrl+C { center-visible-columns; } + Mod+Shift+C { center-visible-columns; } // Finer width adjustments. // This command can also: @@ -598,6 +598,20 @@ binds { // Powers off the monitors. To turn them back on, do any input like // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } + + // ============================================================== + // Custom keybinds + // ============================================================== + + // Clipboard history picker with fuzzel + // see https://github.com/sentriz/cliphist?tab=readme-ov-file#picker-examples + Mod+Ctrl+C { spawn-sh "cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"; } + + // Emoji picker + // see https://github.com/fdw/rofimoji/blob/main/README.md + Mod+Ctrl+E { spawn-sh "rofimoji -a copy"; } + // all unicode files + Mod+Ctrl+Shift+E { spawn-sh "rofimoji -a copy -f all"; } } // Skip hotkey overlay at startup -- cgit v1.3