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
|
||||
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
|
||||
*ProtonVPN|*ProtonVPN\;*)
|
||||
is_proton='true'
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
$bar-reveal-children-bg-color: rgba($color0, 0.2);
|
||||
|
||||
.bar {
|
||||
.bar.horizontal {
|
||||
font-size: 1.05em;
|
||||
padding: 10px 0px 10px;
|
||||
margin: 0px 15px;
|
||||
padding: 10px;
|
||||
margin: 10px 15px;
|
||||
background-color: rgba($bar-bg-color, 0.5);
|
||||
border-radius: $bar-module-border-radius;
|
||||
|
||||
/* background: none;*/
|
||||
.leftgroup,
|
||||
.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")
|
||||
|
|
Loading…
Add table
Reference in a new issue