New backup 2025-04-22 10:59:50
This commit is contained in:
parent
d9f2e59046
commit
1c5d41e9d9
3 changed files with 44 additions and 6 deletions
|
@ -157,7 +157,7 @@ tooltip{
|
|||
border-radius: 8px;
|
||||
}
|
||||
.home {
|
||||
box {
|
||||
> box {
|
||||
border-radius: 8px;
|
||||
box-shadow: inset 0 0 0px 3px rgba($color1,0.75);
|
||||
}
|
||||
|
@ -171,10 +171,15 @@ tooltip{
|
|||
}
|
||||
.shortcuts {
|
||||
background-color: rgba($color0,0.5);
|
||||
padding: 40px;
|
||||
padding: 10px 10px;
|
||||
.vertical {
|
||||
margin: 0px 10px;
|
||||
}
|
||||
button {
|
||||
background-color: rgba($color9,0.5)
|
||||
background-color: rgba($color9,0.5);
|
||||
border-radius: 20px;
|
||||
margin: 10px;
|
||||
// min-width: 60px;
|
||||
}
|
||||
button:hover {
|
||||
background-color: rgba($color1,0.5)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:revealvar-name "reveal_battery"
|
||||
(button :onclick 'notify-send battery lol'
|
||||
: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"') ? "" : ""}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
|
||||
(battery_children)))
|
||||
|
|
|
@ -1,7 +1,40 @@
|
|||
(defwidget shortcuts []
|
||||
(box
|
||||
:class "shortcuts"
|
||||
:orientation "h"
|
||||
:space-evenly true
|
||||
:halign "center"
|
||||
:width 300
|
||||
:height 200
|
||||
(box
|
||||
:orientation "v"
|
||||
:space-evenly true
|
||||
:halign "center"
|
||||
(button
|
||||
"test!")))
|
||||
:width 80
|
||||
:height 80
|
||||
"test!")
|
||||
(button
|
||||
:width 80
|
||||
:height 80
|
||||
"test!")
|
||||
(button
|
||||
:width 80
|
||||
:height 80
|
||||
"test!"))
|
||||
(box
|
||||
:orientation "v"
|
||||
:space-evenly true
|
||||
:halign "center"
|
||||
(button
|
||||
:width 80
|
||||
:height 80
|
||||
"test!")
|
||||
(button
|
||||
:width 80
|
||||
:height 80
|
||||
"test!")
|
||||
(button
|
||||
:width 80
|
||||
:height 80
|
||||
"test!"))))
|
||||
|
|
Loading…
Add table
Reference in a new issue