New backup 2025-09-01 01:00:01
This commit is contained in:
parent
7de510d565
commit
898a3b216c
3 changed files with 8 additions and 5 deletions
|
@ -19,7 +19,7 @@ function ifstatus(){
|
||||||
fi
|
fi
|
||||||
vpn_cons=$(nmcli -g TYPE,NAME connection show --active | grep -e "vpn" -e "wireguard")
|
vpn_cons=$(nmcli -g TYPE,NAME connection show --active | grep -e "vpn" -e "wireguard")
|
||||||
|
|
||||||
echo "${vpn_cons//$'\n'/;}"
|
# echo "${vpn_cons//$'\n'/;}"
|
||||||
case "${vpn_cons//$'\n'/;}" in
|
case "${vpn_cons//$'\n'/;}" in
|
||||||
*ProtonVPN|*ProtonVPN\;*)
|
*ProtonVPN|*ProtonVPN\;*)
|
||||||
is_proton='true'
|
is_proton='true'
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
$bar-reveal-children-bg-color: rgba($color0, 0.2);
|
$bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||||
|
|
||||||
.bar {
|
.bar.horizontal {
|
||||||
font-size: 1.05em;
|
font-size: 1.05em;
|
||||||
padding: 10px 0px 10px;
|
padding: 10px;
|
||||||
margin: 0px 15px;
|
margin: 10px 15px;
|
||||||
|
background-color: rgba($bar-bg-color, 0.5);
|
||||||
|
border-radius: $bar-module-border-radius;
|
||||||
|
|
||||||
/* background: none;*/
|
/* background: none;*/
|
||||||
.leftgroup,
|
.leftgroup,
|
||||||
.centergroup,
|
.centergroup,
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
(deflisten network_status :initial '{ "wifi": "false", "wired": "false", "proton": "false", "homevpn": "false" }'
|
(deflisten network_status :initial '{ "online": false, "wifi": "false", "wired": "false", "vpn": "false", "proton": "false", "proton_sc": "false", "homevpn": "false", "homevpn_full": "false" }'
|
||||||
"scripts/bar/networking")
|
"scripts/bar/networking")
|
||||||
|
|
Loading…
Add table
Reference in a new issue