diff options
author | Karel Kočí <cynerd@email.cz> | 2024-04-15 23:34:35 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-04-15 23:35:42 +0200 |
commit | 4a25d79feef0dd6e462abfb48173da7e470127a5 (patch) | |
tree | f669e473abd24a84b2d9e167ec3f61463fb2b3a7 /local | |
parent | def6ee65cecb646c4cf0e02e9cfd17dd21611f9c (diff) | |
download | myconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.tar.gz myconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.tar.bz2 myconfigs-4a25d79feef0dd6e462abfb48173da7e470127a5.zip |
Replace i3blocks with swaybar
Diffstat (limited to 'local')
-rwxr-xr-x | local/bin/allsync | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/local/bin/allsync b/local/bin/allsync index e876f2d..5dbaef0 100755 --- a/local/bin/allsync +++ b/local/bin/allsync @@ -2,8 +2,8 @@ set -eu cronline="* * * * * /bin/sh -c 'AUTORUN=y /home/cynerd/.local/bin/allsync'" -notify_i3block() { - pkill -RTMIN+13 i3blocks +notify_bar() { + pkill -RTMIN+13 waybar } i3_astroid() { @@ -24,7 +24,7 @@ cron_enable() { else systemctl --user start allsync.timer fi - notify_i3block + notify_bar } cron_disable() { @@ -33,7 +33,7 @@ cron_disable() { else systemctl --user stop allsync.timer fi - notify_i3block + notify_bar } cron_enabled() { @@ -120,8 +120,8 @@ notmuch new #~/.local/sbin/newmail-notify || fail "Mail notifications not sent" notmuch tag --batch --input="$HOME/.notmuch-tag-new" i3_astroid --stop-polling -pkill -RTMIN+13 i3blocks -notify_i3block +pkill -RTMIN+13 swaybar +notify_bar sec "Calendar and contacts" vdirsyncer sync || fail "Calendar and contacts synchronization reported failure" |