Closed tripleo1 closed 2 years ago
Does this work with your configuration? The images in mpd and user are missing for me unless I change them to image blocks and hardcode the user image.
;; profile
(defwidget user []
(box :class "genwin" :orientation "v" :spacing 35 :space-evenly "false" :vexpand "false" :hexpand "false"
(image :path "images/profile.jpg" :width 200 :height 200 :class "face" :halign "center")
...
)
;; Music
(defwidget music []
(box :class "genwin" :orientation "h" :space-evenly "false" :vexpand "false" :hexpand "false"
(image :class "album_art" :vexpand "false" :hexpand "false" :path COVER :width 200 :height 200)
(box :orientation "v" :spacing 20 :space-evenly "false" :vexpand "false" :hexpand "false"
...
))
Also, I believe the comma should be swapped on UPHOUR and UPMIN, although I think there is a mistake in naming here (UPHOUR is hours, but UPMIN is in days on my machine):
;; Uptime vars
(defpoll UPHOUR :interval "5s" "uptime -p | awk '{print $2 \" \" $3}'")
(defpoll UPMIN :interval "5s" "uptime -p | awk '{print $4 \" \" $5}' | sed 's/,//g'")
I've been busy. I'll look into it.
did weather_info work on you guys? if yes can you share your config code?
See if this works for you.
For some reason I get "- Invalid token" do you perhaps know why?
See if this works for you.