diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 26b7fca..3c7fcd7 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -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) diff --git a/de/home/.config/eww/modules/bar/battery.yuck b/de/home/.config/eww/modules/bar/battery.yuck index 2e220dc..625a71c 100644 --- a/de/home/.config/eww/modules/bar/battery.yuck +++ b/de/home/.config/eww/modules/bar/battery.yuck @@ -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))) diff --git a/de/home/.config/eww/modules/home/shortcuts.yuck b/de/home/.config/eww/modules/home/shortcuts.yuck index f98409c..a1ff4d6 100644 --- a/de/home/.config/eww/modules/home/shortcuts.yuck +++ b/de/home/.config/eww/modules/home/shortcuts.yuck @@ -1,7 +1,40 @@ (defwidget shortcuts [] (box :class "shortcuts" + :orientation "h" + :space-evenly true + :halign "center" :width 300 :height 200 - (button - "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!")) + (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!"))))