Add key binding for status notification
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 5 Nov 2020 10:21:08 +0000 (05:21 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 5 Nov 2020 10:21:08 +0000 (05:21 -0500)
home/.xbindkeysrc
home/bin/notify_status [new file with mode: 0755]

index da2890a..2d5eec3 100644 (file)
 # Calendar
 "notify_cal"
     Mod4 + c
+
+# Status
+"notify_status"
+    Mod4 + s
diff --git a/home/bin/notify_status b/home/bin/notify_status
new file mode 100755 (executable)
index 0000000..afd0d9c
--- /dev/null
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+# The status is a function which calls other functions which use variables...
+# load 'em all:
+for file in ~/lib/login_*.sh
+do
+    . "$file"
+done
+
+notify-send "$(status)" -u low
This page took 0.021863 seconds and 4 git commands to generate.