Ajout de Wireguard dans la conf waybar
This commit is contained in:
parent
17c8d2f4ab
commit
da28776049
3 changed files with 23 additions and 9 deletions
4
config/waybar/modules/vpn_echo.sh
Executable file
4
config/waybar/modules/vpn_echo.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
ip addr | grep -q '10.10.10.2' \
|
||||
&& echo '{"text":"Connected","class":"connected","percentage":100}' \
|
||||
|| echo '{"text":"Disconnected","class":"disconnected","percentage":0}'
|
Loading…
Add table
Add a link
Reference in a new issue