This commit is contained in:
parent
de33b74926
commit
8ed8e2b2e2
@ -1,3 +1,6 @@
|
|||||||
|
.tray * {
|
||||||
|
padding: $border-width 0px;
|
||||||
|
}
|
||||||
.tray menu {
|
.tray menu {
|
||||||
background-color: $base01;
|
background-color: $base01;
|
||||||
color: $base07;
|
color: $base07;
|
||||||
@ -8,7 +11,7 @@
|
|||||||
padding: 10px 0px;
|
padding: 10px 0px;
|
||||||
|
|
||||||
>menuitem {
|
>menuitem {
|
||||||
margin: 0px $border-width;
|
margin: 2px $border-width;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
|
|
||||||
&:disabled label {
|
&:disabled label {
|
||||||
|
@ -5,36 +5,30 @@
|
|||||||
(eventbox
|
(eventbox
|
||||||
:onhover "${EWW_CMD} update date_rev=true"
|
:onhover "${EWW_CMD} update date_rev=true"
|
||||||
:onhoverlost "${EWW_CMD} update date_rev=false"
|
:onhoverlost "${EWW_CMD} update date_rev=false"
|
||||||
|
:onclick "(sleep 0.1 && ${EWW_CMD} open --toggle calendar)"
|
||||||
|
:onrightclick "(sleep 0.1 && ${EWW_CMD} open --toggle powermenu)"
|
||||||
(box
|
(box
|
||||||
:class "datetime"
|
:class "datetime"
|
||||||
(overlay
|
(overlay
|
||||||
(box
|
(box
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
(button
|
(label :show-truncated false
|
||||||
:class "hour"
|
:class "hour"
|
||||||
(label :show-truncated false
|
:text {hour})
|
||||||
:text {hour}))
|
(label :show-truncated false
|
||||||
(button
|
:class "minute"
|
||||||
:class "minute"
|
:text {minute}))
|
||||||
(label :show-truncated false
|
|
||||||
:text {minute})))
|
|
||||||
(revealer
|
(revealer
|
||||||
:reveal date_rev
|
:reveal date_rev
|
||||||
(box
|
(box
|
||||||
:class "date"
|
:class "date"
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
(button
|
(label :show-truncated "false"
|
||||||
:onclick "${EWW_CMD} open --toggle calendar"
|
|
||||||
:onrightclick "${EWW_CMD} open --toggle powermenu"
|
|
||||||
:class "day"
|
:class "day"
|
||||||
(label :show-truncated "false"
|
:text {day})
|
||||||
:text {day}))
|
(label :show-truncated "false"
|
||||||
(button
|
|
||||||
:onclick "${EWW_CMD} open --toggle calendar"
|
|
||||||
:onrightclick "${EWW_CMD} open --toggle powermenu"
|
|
||||||
:class "month"
|
:class "month"
|
||||||
(label :show-truncated "false"
|
:text {month}))
|
||||||
:text {month})))
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -6,23 +6,21 @@
|
|||||||
|
|
||||||
(defwidget sys-mod []
|
(defwidget sys-mod []
|
||||||
(module
|
(module
|
||||||
(button
|
(eventbox
|
||||||
:class "module"
|
:onclick "(sleep 0.1 && ${EWW_CMD} open --toggle sys)"
|
||||||
:onclick "${EWW_CMD} open --toggle sys"
|
|
||||||
(box
|
(box
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
(circular-progress
|
(circular-progress
|
||||||
:value {EWW_CPU.avg}
|
:value {EWW_CPU.avg}
|
||||||
:class "cpubar"
|
:class "cpubar"
|
||||||
:thickness 6
|
:thickness 6
|
||||||
(label :class "icon-text" :text "C"))
|
(label :class "icon-text" :text "C"))
|
||||||
|
|
||||||
(circular-progress
|
|
||||||
:value {gpu.devices[0].GRBM2?.CommandProcessor-Graphics?.value?:0}
|
|
||||||
:class "gpubar"
|
|
||||||
:thickness 6
|
|
||||||
(label :class "icon-text" :text "G"))
|
|
||||||
|
|
||||||
|
(circular-progress
|
||||||
|
:value {gpu.devices[0].GRBM2?.CommandProcessor-Graphics?.value?:0}
|
||||||
|
:class "gpubar"
|
||||||
|
:thickness 6
|
||||||
|
(label :class "icon-text" :text "G"))
|
||||||
(circular-progress
|
(circular-progress
|
||||||
:value {100*memory.used/memory.total}
|
:value {100*memory.used/memory.total}
|
||||||
:class "membar"
|
:class "membar"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
:class "tray"
|
:class "tray"
|
||||||
:space-evenly "true"
|
:space-evenly "true"
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
:icon-size 24
|
:icon-size 20
|
||||||
:prepend-new "false"
|
:prepend-new "false"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
(box
|
(box
|
||||||
:orientation "v"
|
:orientation "v"
|
||||||
(button
|
(button
|
||||||
:onclick "${EWW_CMD} open --toggle --no-daemonize radio"
|
:onclick "(sleep 0.1 && ${EWW_CMD} open --toggle --no-daemonize radio)"
|
||||||
(label
|
(label
|
||||||
:show-truncated false
|
:show-truncated false
|
||||||
:class "icon-text"
|
:class "icon-text"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user