add sb networkmanager hooks
This commit is contained in:
parent
78e30805fe
commit
6906196882
2 changed files with 7 additions and 0 deletions
1
TODO.md
1
TODO.md
|
@ -13,3 +13,4 @@
|
|||
## Misc
|
||||
|
||||
- [ ] Enable user services
|
||||
- [ ] Select timezone
|
||||
|
|
6
files/etc/NetworkManager/dispatcher.d/connectivity-change.d/sb.sh
Executable file
6
files/etc/NetworkManager/dispatcher.d/connectivity-change.d/sb.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ "$NM_DISPATCHER_ACTION" = "connectivity-change" ] && {
|
||||
pkill -RTMIN+2 dwmblocks
|
||||
pkill -RTMIN+3 dwmblocks
|
||||
}
|
Reference in a new issue