1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-04 05:19:26 +00:00

[polybar] Add network signal status

This commit is contained in:
2021-08-29 17:43:15 +02:00
parent 194c9f125a
commit 0e138f5409
3 changed files with 42 additions and 1 deletions

View File

@ -87,6 +87,12 @@ double-click-left = /usr/bin/bash ~/.config/polybar/scripts/nmcli_manager &
click-right = /usr/bin/bash ~/.config/polybar/scripts/nmcli_manager &
tail = true
[module/network_status]
type = custom/script
exec = ~/.config/polybar/scripts/network_status
click-left = $TERMINAL_CMD "fping --elapsed --count 100 1.1.1.1"
interval = 5
[module/vpn]
type = custom/script
exec = ~/.config/polybar/scripts/check_vpn