Skip to content

Instantly share code, notes, and snippets.

@y56
Created March 7, 2022 01:34
Show Gist options
  • Save y56/61c7f71ec9d3d0646666f8c230950df3 to your computer and use it in GitHub Desktop.
Save y56/61c7f71ec9d3d0646666f8c230950df3 to your computer and use it in GitHub Desktop.
ubuntu hotkey
/bin/bash -c "sleep 0.2 && date -Iminutes | cut -c1-16 | tr : - > /home/y56/.y56-for-date-hotkey && cat /home/y56/.y56-for-date-hotkey | tr -d '\n' | xclip -selection clipboard && xdotool key Control_L+v"
@y56
Copy link
Author

y56 commented Mar 23, 2022

This used here
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment