diff --git a/TODO.md b/TODO.md index b2a5178..fe06422 100644 --- a/TODO.md +++ b/TODO.md @@ -13,3 +13,4 @@ ## Misc - [ ] Enable user services +- [ ] Select timezone diff --git a/files/etc/NetworkManager/dispatcher.d/connectivity-change.d/sb.sh b/files/etc/NetworkManager/dispatcher.d/connectivity-change.d/sb.sh new file mode 100755 index 0000000..19ecd6e --- /dev/null +++ b/files/etc/NetworkManager/dispatcher.d/connectivity-change.d/sb.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +[ "$NM_DISPATCHER_ACTION" = "connectivity-change" ] && { + pkill -RTMIN+2 dwmblocks + pkill -RTMIN+3 dwmblocks +}