diff --git a/de/home/.config/eww/modules/home.yuck b/de/home/.config/eww/modules/home.yuck index 624e68c..7a966e6 100644 --- a/de/home/.config/eww/modules/home.yuck +++ b/de/home/.config/eww/modules/home.yuck @@ -4,7 +4,7 @@ :spacing 10 :width 250 :space-evenly false - (nowplayingart) + (nowplayingbar) (rat) (shortcuts) (weather_revealer) diff --git a/de/home/.config/eww/modules/home/nowplayingart.yuck b/de/home/.config/eww/modules/home/nowplayingart.yuck index f27d7a5..e9c2289 100644 --- a/de/home/.config/eww/modules/home/nowplayingart.yuck +++ b/de/home/.config/eww/modules/home/nowplayingart.yuck @@ -1,11 +1,33 @@ (deflisten nowplaying_img_path :initial "" 'scripts/home/nowplayingart.sh') + +(defwidget nowplayingbar [] + (box + :class "nowplayingbar" + :orientation "h" + :width 250 + :height 100 + :space-evenly false + (nowplayingart) + (button + :height 50 + :width 50 + "") + (button + :height 50 + :width 50 + "󰐎") + (label + :height 50 + :width 50 + :text ""))) + (defwidget nowplayingart [] (box :class "nowplayingart" - :orientation "h" - :width 250 - :height 250 +; :hexpand false + :width 50 + :height 50 ; :style "background-image: url('/run/user/1000/album_art_cache/getCoverArt.view?id=952&u=pogmommy&p=mG%232001068485&v=1.13.0&c=Feishin&size=300');")) :style "background-image: url('${nowplaying_img_path}');")) ; :style "background-image: url('${rat_image}');")) diff --git a/de/home/.config/eww/modules/home/reminders.yuck b/de/home/.config/eww/modules/home/reminders.yuck index 6eacd27..ddff461 100644 --- a/de/home/.config/eww/modules/home/reminders.yuck +++ b/de/home/.config/eww/modules/home/reminders.yuck @@ -5,6 +5,8 @@ (defvar reveal_reminders false) (defwidget reminders_revealer [] (revealer-on-press +; :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10} + :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10} :revealvar reveal_reminders :revealvar-name "reveal_reminders" ; {reveal_reminders ? "" : ""}