aboutsummaryrefslogtreecommitdiff
path: root/config/i3/conky-i3bar
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-11-06 17:42:47 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-11-06 17:48:58 +0100
commitce2a2cf9f5b7eb035e326930dcdab5e3018b1d0c (patch)
tree6995182abb300486a425d54ed4e5ba39ffa9b98f /config/i3/conky-i3bar
parent605d1b1ebd6e99b6e61a244a78d782cf2437f318 (diff)
downloaddotfiles-ce2a2cf9f5b7eb035e326930dcdab5e3018b1d0c.tar.gz
dotfiles-ce2a2cf9f5b7eb035e326930dcdab5e3018b1d0c.zip
use xdg_spec for i3 setup
Diffstat (limited to 'config/i3/conky-i3bar')
-rwxr-xr-xconfig/i3/conky-i3bar13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/i3/conky-i3bar b/config/i3/conky-i3bar
new file mode 100755
index 0000000..56159c3
--- /dev/null
+++ b/config/i3/conky-i3bar
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Send the header so that i3bar knows we want to use JSON:
+echo '{"version":1}'
+
+# Begin the endless array.
+echo '['
+
+# We send an empty first array of blocks to make the loop simpler:
+echo '[],'
+
+# Now send blocks with information forever:
+exec conky -c $HOME/.config/i3/conkyrc.json