1
0
Fork 0

move networkmanager-dispatch sb script

This commit is contained in:
Luca Bilke 2024-07-24 19:16:24 +02:00
parent 28b5fa1db2
commit 3edd9ae12f
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +0,0 @@
#!/bin/sh
[ "$NM_DISPATCHER_ACTION" = "connectivity-change" ] && {
pkill -RTMIN+2 dwmblocks
pkill -RTMIN+3 dwmblocks
}

View File

@ -0,0 +1,8 @@
#!/bin/sh
case "$2" in
up | down)
pkill -RTMIN+2 dwmblocks
pkill -RTMIN+3 dwmblocks
;;
esac