aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-26 13:05:44 +0100
committerMartin Fischer <martin@push-f.com>2026-10-31 08:43:09 +0100
commit35b3174ce5c64ead44c01fafff5a8451c0a0d063 (patch)
tree3ece988b939945c30806bf7d0c5c10fc651db9d0 /user
parent931c673222f8de3004c33b5cabe74be443178082 (diff)
tweak(user/niri): add key binding to insert current date
Diffstat (limited to 'user')
-rw-r--r--user/niri/config.kdl1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/niri/config.kdl b/user/niri/config.kdl
index 005546b..5be9baa 100644
--- a/user/niri/config.kdl
+++ b/user/niri/config.kdl
@@ -355,6 +355,7 @@ binds {
Mod+Return hotkey-overlay-title="Open a Terminal" { spawn "foot"; }
Mod+D hotkey-overlay-title="Run an Application" { spawn "wmenu-run"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "swaylock"; }
+ Mod+T hotkey-overlay-title="Insert current date" { spawn-sh "wtype $(date -I)"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.