New backup 2025-03-03 22:30:02

This commit is contained in:
Penelope Gwen 2025-03-03 22:30:02 -08:00
parent 11766b6f5c
commit 894bb92fe3
2 changed files with 25 additions and 8 deletions

View file

@ -53,15 +53,12 @@ circular-progress {
border-left: 2px solid $color1;
}
.rightgroup>label,
.rightgroup>button,
.systray {
background-color: $color9;
border: 2px solid $color1;
color: $color0;
margin: 0px 0px;
padding: 2px;
}
.rightgroup>label,
.systray {
border-radius: 8px;
margin: 0px 2px;
}

View file

@ -6,10 +6,10 @@
(defwidget rightgroup []
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
"  "
"🖧 "
" "
" "
(idleinhibit)
(network)
(vpn)
(bluetooth)
(sysdisk)
(sysmem)
{formattime(EWW_TIME,"%b %d, %Y %H:%M")}
@ -29,6 +29,26 @@
:class {entry.focused ? "focused" : ""}
`${replace(entry.name,".*:","")}`))))
(defwidget network []
(button :onclick 'nm-connection-editor'
"🖧"))
(defwidget bluetooth []
(button :onclick 'blueman-manager'
""))
(defvar inhibit_active false)
(defwidget idleinhibit []
(button :onclick 'notify-send "test"'
:class {inhibit_active ? "active" : ""}
{inhibit_active ? "" : ""}))
(defvar vpn_active false)
(defwidget vpn []
(button :onclick 'notify-send "test"'
:class {vpn_active ? "active" : ""}
{vpn_active ? "" : ""}))
(defwidget systemtray []
(systray
:class "systray"