New backup 2025-03-04 21:45:02
This commit is contained in:
parent
56d1524187
commit
e9d9672e2e
2 changed files with 11 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
(defwidget bar []
|
(defwidget bar []
|
||||||
(centerbox :orientation "h"
|
(centerbox :orientation "h"
|
||||||
(leftgroup)
|
(leftgroup)
|
||||||
(music)
|
(centergroup)
|
||||||
(rightgroup)))
|
(rightgroup)))
|
||||||
|
|
||||||
(defwidget leftgroup []
|
(defwidget leftgroup []
|
||||||
|
@ -11,6 +11,10 @@
|
||||||
(workspaces :array workspacesArray)
|
(workspaces :array workspacesArray)
|
||||||
(windowtitle)))
|
(windowtitle)))
|
||||||
|
|
||||||
|
(defwidget centergroup []
|
||||||
|
(box :class "centergroup" :orientation "h" :space-evenly false :halign "start"
|
||||||
|
(music)))
|
||||||
|
|
||||||
(defwidget rightgroup []
|
(defwidget rightgroup []
|
||||||
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
|
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
|
||||||
(idleinhibit)
|
(idleinhibit)
|
||||||
|
@ -50,7 +54,7 @@
|
||||||
:interval "1s"
|
:interval "1s"
|
||||||
"scripts/activewindow")
|
"scripts/activewindow")
|
||||||
(defwidget windowtitle []
|
(defwidget windowtitle []
|
||||||
(box :class "active_window"
|
(box :class {active_window_name != "" ? "active_window" : ""}
|
||||||
{active_window_name}))
|
{active_window_name}))
|
||||||
|
|
||||||
(defwidget clock []
|
(defwidget clock []
|
||||||
|
@ -77,12 +81,12 @@
|
||||||
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
|
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
|
||||||
(box
|
(box
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(children :nth 0)
|
|
||||||
(revealer
|
(revealer
|
||||||
:reveal revealvar
|
:reveal revealvar
|
||||||
:transition {transition ?: "slideright"}
|
:transition {transition ?: "slideright"}
|
||||||
:duration {duration ?: "500ms"}
|
:duration {duration ?: "500ms"}
|
||||||
(children :nth 1))))))
|
(children :nth 0)
|
||||||
|
(children :nth 1))))))
|
||||||
|
|
||||||
(defvar reveal_powermenu false)
|
(defvar reveal_powermenu false)
|
||||||
(defwidget powermenu []
|
(defwidget powermenu []
|
||||||
|
@ -118,10 +122,10 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_network
|
:revealvar reveal_network
|
||||||
:revealvar-name "reveal_network"
|
:revealvar-name "reveal_network"
|
||||||
|
(network_children)
|
||||||
(button :onclick 'nm-connection-editor'
|
(button :onclick 'nm-connection-editor'
|
||||||
:class {wireless_active || wired_active ? "active" : ""}
|
:class {wireless_active || wired_active ? "active" : ""}
|
||||||
"")
|
"")))
|
||||||
(network_children)))
|
|
||||||
|
|
||||||
(defwidget network_children []
|
(defwidget network_children []
|
||||||
(box :class "reveal_children"
|
(box :class "reveal_children"
|
||||||
|
@ -308,7 +312,7 @@
|
||||||
:onchange "")))
|
:onchange "")))
|
||||||
|
|
||||||
(defwidget music []
|
(defwidget music []
|
||||||
(box :class "music"
|
(box :class {music != "" ? "music" : "hidden"}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 40 KiB |
Loading…
Add table
Reference in a new issue