diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-05-18 11:59:19 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-05-18 11:59:19 +0200 |
commit | d3cec3196d8e7734ddd0750aaeeaa49966a7fb34 (patch) | |
tree | 9256b48d19b65963aa3ec08190a84dfb7ac4fc41 /.i3/conky-wrapper.sh | |
parent | 28480f1134476baef7933c1c452bdd8fe60bca15 (diff) | |
download | dotfiles-d3cec3196d8e7734ddd0750aaeeaa49966a7fb34.tar.gz dotfiles-d3cec3196d8e7734ddd0750aaeeaa49966a7fb34.tar.xz |
Add i3 config
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.i3/conky-wrapper.sh')
-rwxr-xr-x | .i3/conky-wrapper.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.i3/conky-wrapper.sh b/.i3/conky-wrapper.sh new file mode 100755 index 0000000..7d90551 --- /dev/null +++ b/.i3/conky-wrapper.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Send the header so that i3bar knows we want to use JSON: +printf "%s" '{"version":1}' + +# Begin the endless array. +printf "%s" '[' + +# We send an empty first array of blocks to make the loop simpler: +printf "%s" '[],' + +# Now send blocks with information forever: +exec conky -c "$HOME/.i3/conkyrc" |