New backup 2025-07-01 02:30:02
This commit is contained in:
parent
12197d9074
commit
25b8480691
2 changed files with 17 additions and 6 deletions
|
@ -140,21 +140,32 @@ button.active {
|
||||||
.workspaces button:first-child,
|
.workspaces button:first-child,
|
||||||
.reveal_children>box:first-child,
|
.reveal_children>box:first-child,
|
||||||
.reveal_children>scale:first-child,
|
.reveal_children>scale:first-child,
|
||||||
.reveal_children>button:first-child {
|
.reveal_children>progressbar:first-child,
|
||||||
|
.reveal_children>button:first-child,
|
||||||
|
.reveal_children>widget:first-child {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
border-radius:$bar-module-border-radius 0px 0px $bar-module-border-radius;
|
border-radius:$bar-module-border-radius 0px 0px $bar-module-border-radius;
|
||||||
border-left: 0px solid $bar-bg-color;
|
border-left: 0px solid $bar-bg-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.revealer-on-hover>widget>box>revealer>box>box{
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.workspaces button:last-child,
|
.workspaces button:last-child,
|
||||||
.reveal_children>box:last-child,
|
.reveal_children>box:last-child,
|
||||||
.reveal_children>scale:last-child,
|
.reveal_children>scale:last-child,
|
||||||
.reveal_children>button:last-child {
|
.reveal_children>progressbar:last-child,
|
||||||
|
.reveal_children>button:last-child,
|
||||||
|
.reveal_children>widget:last-child {
|
||||||
border-radius:0px $bar-module-border-radius $bar-module-border-radius 0px;
|
border-radius:0px $bar-module-border-radius $bar-module-border-radius 0px;
|
||||||
}
|
}
|
||||||
.workspaces button:only-child,
|
.workspaces button:only-child,
|
||||||
.reveal_children>box:only-child,
|
.reveal_children>box:only-child,
|
||||||
.reveal_children>scale:only-child,
|
.reveal_children>scale:only-child,
|
||||||
.reveal_children>button:only-child {
|
.reveal_children>progressbar:only-child,
|
||||||
|
.reveal_children>button:only-child,
|
||||||
|
.reveal_children>widget:only-child {
|
||||||
border-radius:$bar-module-border-radius;
|
border-radius:$bar-module-border-radius;
|
||||||
}
|
}
|
||||||
menu {
|
menu {
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_battery
|
:revealvar reveal_battery
|
||||||
:revealvar-name "reveal_battery"
|
:revealvar-name "reveal_battery"
|
||||||
(button :onclick 'notify-send battery lol'
|
(label
|
||||||
:class {(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "active" : "" }
|
:class {(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "active" : "" }
|
||||||
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
||||||
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
|
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
|
||||||
`${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
|
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
|
||||||
(battery_children)))
|
(battery_children)))
|
||||||
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
||||||
(defwidget battery_children []
|
(defwidget battery_children []
|
||||||
|
|
Loading…
Add table
Reference in a new issue