summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-06 22:29:00 -0800
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-06 22:29:00 -0800
commit617c3b29dbf03322ef3ccb0cd9663532e94adb68 (patch)
tree8860f190283aecfb73422752f36a46f3dd46ea67
parent0dccadf22264d63a7560c9348a1d322c12704d9b (diff)
add custom picker keybinds
Adds - picker for clipboard history - picker for emojis - picker for all unicode characters on system
-rw-r--r--dot-config/niri/config.kdl16
1 files changed, 15 insertions, 1 deletions
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