diff --git a/.config/dwm/autorun.d/setup b/.config/dwm/autorun.d/setup index d932784a9..c4c70776a 100755 --- a/.config/dwm/autorun.d/setup +++ b/.config/dwm/autorun.d/setup @@ -5,4 +5,9 @@ remaps -qd pidof -s thunderbird >/dev/null 2>&1 || setsid -f thunderbird pidof -s ferdium >/dev/null 2>&1 || setsid -f ferdium -{ sleep 15; rm ~/.mozilla; } & +{ + sleep 15 + rm ~/.mozilla +} & + +pkill -RTMIN+8 dwmblocks diff --git a/.local/libexec/cron/checkup b/.local/libexec/cron/checkup index f233c174b..1ba6be37a 100755 --- a/.local/libexec/cron/checkup +++ b/.local/libexec/cron/checkup @@ -1,7 +1,9 @@ #!/bin/sh +pkill -RTMIN+8 dwmblocks + askupgrade() { - [ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && upgrades + [ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && upgrades } \xbps-install -Sun 1>/tmp/xbps_updates 2>/tmp/xbps_errors