aboutsummaryrefslogtreecommitdiff
path: root/config/i3/scripts/notes
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-02-12 10:59:07 +0100
committerKarel Kočí <karel.koci@nic.cz>2019-02-12 10:59:07 +0100
commit7af10bdbffadab9c68f500b36d7d7fd550a4e0d7 (patch)
tree4b0cff800ae68f1f166cfee9a1592b008a140f1c /config/i3/scripts/notes
parent29c4152ffa3b2570b653f274a3f4cac9f10c4c35 (diff)
downloadmyconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.tar.gz
myconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.tar.bz2
myconfigs-7af10bdbffadab9c68f500b36d7d7fd550a4e0d7.zip
i3: add shortcut for notes
Diffstat (limited to 'config/i3/scripts/notes')
-rwxr-xr-xconfig/i3/scripts/notes6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/i3/scripts/notes b/config/i3/scripts/notes
new file mode 100755
index 0000000..6b9cc8c
--- /dev/null
+++ b/config/i3/scripts/notes
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cd ~/notes
+find * -type f | dmenu -p 'notes' | while read -r note; do
+ nohup urxvt -title 'notes-terminal-window' -e vim ~/notes/"$note" >/dev/null 2>&1 &
+done