New backup 2025-03-03 20:45:02

This commit is contained in:
Penelope Gwen 2025-03-03 20:45:02 -08:00
parent f5414a5725
commit d97ef3701d
2 changed files with 34 additions and 6 deletions

View file

@ -42,10 +42,15 @@
.workspaces button:hover {
color: #D35D6E;
}
.workspaces button {
.workspaces {
background-color: #B87A7A;
color: #2C2423;
margin: 0px 5px;
border-radius: 8px;
}
.workspaces button {
background-color: red;
color: #2C2423;
margin: 0px 0px;
padding: 2px;
border-radius: 8px;
}

View file

@ -6,6 +6,7 @@
(defwidget rightgroup []
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
(sysdisk)
(sysmem)
{formattime(EWW_TIME,"%b %d, %Y %H:%M")}
(systemtray)))
@ -37,8 +38,8 @@
:orientation "h"
:space-evently false
(eventbox
:onhover "eww update ${revealvar-name}=true"
:onhoverlost "eww update ${revealvar-name}=false"
:onhover "${EWW_CMD} update ${revealvar-name}=true"
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
(box
:space-evenly false
(children :nth 0)
@ -53,7 +54,7 @@
(revealer-on-hover
:revealvar reveal_sysmem
:revealvar-name "reveal_sysmem"
(metric :label "MEM%"
(metric :label ""
:value {EWW_RAM.used_mem_perc}
:onchange "")
(sysmem_children)))
@ -63,13 +64,35 @@
:orientation "h"
:space-evenly false
:halign "center"
(metric :label " "
(metric :label " "
:value {round((EWW_RAM.total_mem - EWW_RAM.free_mem) / EWW_RAM.total_mem,2) * 100}
:onchange "")
(metric :label " "
:value {round((EWW_RAM.total_swap - EWW_RAM.free_swap) / EWW_RAM.total_swap,2) * 100}
:onchange "")))
(defvar reveal_sysdisk false)
(defwidget sysdisk []
(revealer-on-hover
:revealvar reveal_sysdisk
:revealvar-name "reveal_sysdisk"
(metric :label "/home"
:value {EWW_DISK["/home"].used_perc}
:onchange "")
(sysdisk_children)))
(defwidget sysdisk_children []
(box :class "sysdisk_children"
:orientation "h"
:space-evenly false
:halign "center"
(metric :label "/"
:value {EWW_DISK["/"].used_perc}
:onchange "")
(metric :label "/boot"
:value {EWW_DISK["/boot"].used_perc}
:onchange "")))
(defwidget music []
(box :class "music"
:orientation "h"