i3: add keybind to type datetime

This commit is contained in:
xfnw 2023-12-26 15:38:04 -05:00
parent bea6615106
commit 64084403fa
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ bindsym $mod+q exec xkill
bindsym $mod+d exec rofi -show combi
# type the date
bindsym --release $mod+Shift+d exec date -I | xargs xdotool keyup control shift type --delay 1 --clearmodifiers
bindsym --release $mod+Shift+d exec date -uI | xargs xdotool keyup control shift type --delay 1 --clearmodifiers
bindsym --release $mod+Control+Shift+d exec date -u +%FT%TZ | xargs xdotool keyup control shift type --delay 1 --clearmodifiers
# other rofi stuff
bindsym $mod+c exec rofi -show ssh