diff options
author | Karel Kočí <cynerd@email.cz> | 2020-12-12 08:46:34 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-12-12 08:46:34 +0100 |
commit | 1cb6094dac854e543247a8cc605a1d882ba1c5b8 (patch) | |
tree | 36ca2c39a521dffd05e928a08e4e10202656253e /config/i3blocks | |
parent | adda549c329d83aa94f2571ac6de52c232413bc9 (diff) | |
download | myconfigs-1cb6094dac854e543247a8cc605a1d882ba1c5b8.tar.gz myconfigs-1cb6094dac854e543247a8cc605a1d882ba1c5b8.tar.bz2 myconfigs-1cb6094dac854e543247a8cc605a1d882ba1c5b8.zip |
allsync: automatic synchronization
Diffstat (limited to 'config/i3blocks')
-rw-r--r-- | config/i3blocks/config | 6 | ||||
-rwxr-xr-x | config/i3blocks/scripts/allsync | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/i3blocks/config b/config/i3blocks/config index ab6cf62..50289c5 100644 --- a/config/i3blocks/config +++ b/config/i3blocks/config @@ -55,9 +55,15 @@ interval=10 markup=pango interval=30 +[allsync] +command=~/.config/i3blocks/scripts/allsync +interval=120 +signal=13 + [email] command=~/.config/i3blocks/scripts/email interval=30 +signal=13 [time] command=date '+%Y-%m-%d %H:%M:%S' diff --git a/config/i3blocks/scripts/allsync b/config/i3blocks/scripts/allsync new file mode 100755 index 0000000..211799d --- /dev/null +++ b/config/i3blocks/scripts/allsync @@ -0,0 +1,6 @@ +#!/bin/bash +if allsync enabled; then + echo "sync" + echo + echo "#ffff00" +fi |