From 4a25d79feef0dd6e462abfb48173da7e470127a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 15 Apr 2024 23:34:35 +0200 Subject: Replace i3blocks with swaybar --- local/bin/allsync | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'local/bin') 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" -- cgit v1.2.3