1
0
Fork 0

fix(eww): style bar

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-31 14:53:52 -05:00
parent a1d3d54b0f
commit af84b038cf
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 14 additions and 2 deletions

View file

@ -57,6 +57,16 @@ scale trough {
font-size: 15px; font-size: 15px;
} }
.button__container {
padding-left: 7px;
padding-right: 7px;
border-radius: 5px;
}
.button__container:hover {
background-color: hsla(210, 25%, 25%, 0.3);
}
.player { .player {
color: #e5e1cf; color: #e5e1cf;
} }
@ -109,7 +119,7 @@ scale trough {
} }
.timedate__button { .timedate__button {
padding: 3px 9px; padding: 3px 6gpx;
border-radius: 5px; border-radius: 5px;
} }

View file

@ -117,7 +117,7 @@
:halign "end" :halign "end"
:valign "center" :valign "center"
:space-evenly "false" :space-evenly "false"
:spacing 10 :spacing 5
(literal :content {autosus}) (literal :content {autosus})
(weather) (weather)
(wifi) (wifi)
@ -138,6 +138,7 @@
(defwidget bluetooth [] (defwidget bluetooth []
(button :onclick "scripts/bluetoothpanel" (button :onclick "scripts/bluetoothpanel"
:class "button__container"
(icon-module :class "bluetooth" (icon-module :class "bluetooth"
:icon "ᛒ" :icon "ᛒ"
:visible true :visible true
@ -178,6 +179,7 @@
;; A widget for tracking battery ;; A widget for tracking battery
(defwidget power [] (defwidget power []
(button :onclick "scripts/powernotify" (button :onclick "scripts/powernotify"
:class "button__container"
(icon-module :class "power" (icon-module :class "power"
:icon "⏻" :icon "⏻"
:visible true :visible true