New backup 2025-03-04 21:45:02

This commit is contained in:
Penelope Gwen 2025-03-04 21:45:02 -08:00
parent 56d1524187
commit e9d9672e2e
2 changed files with 11 additions and 7 deletions

View file

@ -1,7 +1,7 @@
(defwidget bar []
(centerbox :orientation "h"
(leftgroup)
(music)
(centergroup)
(rightgroup)))
(defwidget leftgroup []
@ -11,6 +11,10 @@
(workspaces :array workspacesArray)
(windowtitle)))
(defwidget centergroup []
(box :class "centergroup" :orientation "h" :space-evenly false :halign "start"
(music)))
(defwidget rightgroup []
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
(idleinhibit)
@ -50,7 +54,7 @@
:interval "1s"
"scripts/activewindow")
(defwidget windowtitle []
(box :class "active_window"
(box :class {active_window_name != "" ? "active_window" : ""}
{active_window_name}))
(defwidget clock []
@ -77,12 +81,12 @@
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
(box
:space-evenly false
(children :nth 0)
(revealer
:reveal revealvar
:transition {transition ?: "slideright"}
:duration {duration ?: "500ms"}
(children :nth 1))))))
(children :nth 0)
(children :nth 1))))))
(defvar reveal_powermenu false)
(defwidget powermenu []
@ -118,10 +122,10 @@
(revealer-on-hover
:revealvar reveal_network
:revealvar-name "reveal_network"
(network_children)
(button :onclick 'nm-connection-editor'
:class {wireless_active || wired_active ? "active" : ""}
"")
(network_children)))
"")))
(defwidget network_children []
(box :class "reveal_children"
@ -308,7 +312,7 @@
:onchange "")))
(defwidget music []
(box :class "music"
(box :class {music != "" ? "music" : "hidden"}
:orientation "h"
:space-evenly false
:halign "center"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 40 KiB