New backup 2025-03-10 17:39:23
This commit is contained in:
parent
d2a3649a60
commit
77914dec6f
4 changed files with 42 additions and 5 deletions
|
@ -116,6 +116,10 @@ button.active {
|
||||||
.reveal_children>button:only-child {
|
.reveal_children>button:only-child {
|
||||||
border-radius:8px;
|
border-radius:8px;
|
||||||
}
|
}
|
||||||
|
menu {
|
||||||
|
color: blue;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.rat {
|
.rat {
|
||||||
|
@ -128,3 +132,36 @@ button.active {
|
||||||
background-color: rgba($color0,0.5);
|
background-color: rgba($color0,0.5);
|
||||||
padding: 10px 0px;
|
padding: 10px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*menu {
|
||||||
|
padding: 5px;
|
||||||
|
background-color: #000;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
menuitem {
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
background-color: transparent;
|
||||||
|
transition: all .2s ease;
|
||||||
|
|
||||||
|
&:backdrop {
|
||||||
|
background-color: $background;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem arrow {
|
||||||
|
min-width: 16px;
|
||||||
|
min-height: 16px;
|
||||||
|
|
||||||
|
&:dir(ltr) {
|
||||||
|
-gtk-icon-source: -gtk-icontheme('pan-end-symbolic');
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem:hover {
|
||||||
|
background-color: $blue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
;(defpoll battery_level :initial 0
|
;(defpoll battery_level :initial 0
|
||||||
; :interval "1s"
|
; :interval "1s"
|
||||||
; "scripts/battery-status")
|
; "scripts/bar/battery-status")
|
||||||
(defwidget battery_children []
|
(defwidget battery_children []
|
||||||
(box :class "reveal_children"
|
(box :class "reveal_children"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
|
|
@ -19,9 +19,9 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(button :onclick {wireless_active ? 'scripts/network-updown wifi down' : 'scripts/network-updown wifi up'}
|
(button :onclick {wireless_active ? 'scripts/bar/network-updown wifi down' : 'scripts/network-updown wifi up'}
|
||||||
:class {wireless_active ? "active" : ""}
|
:class {wireless_active ? "active" : ""}
|
||||||
"")
|
"")
|
||||||
(button :onclick {wired_active ? 'scripts/network-updown ethernet down' : 'scripts/network-updown ethernet up'}
|
(button :onclick {wired_active ? 'scripts/bar/network-updown ethernet down' : 'scripts/network-updown ethernet up'}
|
||||||
:class {wired_active ? "active" : ""}
|
:class {wired_active ? "active" : ""}
|
||||||
"🖧")))
|
"🖧")))
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(button :onclick 'scripts/nmcli-vpn "HomeVPN"'
|
(button :onclick 'scripts/bar/nmcli-vpn "HomeVPN"'
|
||||||
:class {home_vpn_active ? "active" : ""}
|
:class {home_vpn_active ? "active" : ""}
|
||||||
{home_vpn_active ? "" : ""})
|
{home_vpn_active ? "" : ""})
|
||||||
(button :onclick 'scripts/nmcli-vpn "Proton SE-NL"'
|
(button :onclick 'scripts/bar/nmcli-vpn "Proton SE-NL"'
|
||||||
:class {proton_vpn_active ? "active" : ""}
|
:class {proton_vpn_active ? "active" : ""}
|
||||||
{proton_vpn_active ? "" : ""})))
|
{proton_vpn_active ? "" : ""})))
|
||||||
|
|
Loading…
Add table
Reference in a new issue