New backup 2025-04-22 10:59:50

This commit is contained in:
Penelope Gwen 2025-04-22 10:59:50 -07:00
parent d9f2e59046
commit 1c5d41e9d9
3 changed files with 44 additions and 6 deletions

View file

@ -157,7 +157,7 @@ tooltip{
border-radius: 8px; border-radius: 8px;
} }
.home { .home {
box { > box {
border-radius: 8px; border-radius: 8px;
box-shadow: inset 0 0 0px 3px rgba($color1,0.75); box-shadow: inset 0 0 0px 3px rgba($color1,0.75);
} }
@ -171,10 +171,15 @@ tooltip{
} }
.shortcuts { .shortcuts {
background-color: rgba($color0,0.5); background-color: rgba($color0,0.5);
padding: 40px; padding: 10px 10px;
.vertical {
margin: 0px 10px;
}
button { button {
background-color: rgba($color9,0.5) background-color: rgba($color9,0.5);
border-radius: 20px; border-radius: 20px;
margin: 10px;
// min-width: 60px;
} }
button:hover { button:hover {
background-color: rgba($color1,0.5) background-color: rgba($color1,0.5)

View file

@ -5,7 +5,7 @@
:revealvar-name "reveal_battery" :revealvar-name "reveal_battery"
(button :onclick 'notify-send battery lol' (button :onclick 'notify-send battery lol'
: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?')}%"}`) `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "" : ""}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
(battery_children))) (battery_children)))

View file

@ -1,7 +1,40 @@
(defwidget shortcuts [] (defwidget shortcuts []
(box (box
:class "shortcuts" :class "shortcuts"
:orientation "h"
:space-evenly true
:halign "center"
:width 300 :width 300
:height 200 :height 200
(button (box
"test!"))) :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!"))
(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!"))))