Closed command-z-z closed 1 year ago
I'm glad you liked my rice! What problems are you having getting the widget running?
i dont know how to config that spofity widget, is it a waybar module or anysome else?
The widget is made with eww, you first have to install eww, and some dependencies for that specific widget, like python, rustup, playerctl, and playerctld, etc, I recommend you read the imports in the metadata.py file I have in the eww directory to see which python libraries are also needed for this widget to work, then when you have everything installed, just execute in the console:
eww daemon
eww open --toggle dashboard
which I believe is the name of the window defined in the eww.yuck file.
here's eww's documentation: https://elkowar.github.io/eww/
and here's a pretty good blogpost on how to write your own eww widgets: https://dharmx.is-a.dev/eww-powermenu/
Of course, the eww directory must be placed inside your /home/username/.config directory for all of this to work, since that's where eww looks for its config files, unless otherwise stated, you can read more about it in the official docs.
The widget is made with eww, you first have to install eww, and some dependencies for that specific widget, like python, rustup, playerctl, and playerctld, etc, I recommend you read the imports in the metadata.py file I have in the eww directory to see which python libraries are also needed for this widget to work, then when you have everything installed, just execute in the console:
eww daemon
eww open --toggle dashboard
which I believe is the name of the window defined in the eww.yuck file.here's eww's documentation: https://elkowar.github.io/eww/
and here's a pretty good blogpost on how to write your own eww widgets: https://dharmx.is-a.dev/eww-powermenu/
Of course, the eww directory must be placed inside your /home/username/.config directory for all of this to work, since that's where eww looks for its config files, unless otherwise stated, you can read more about it in the official docs.
thanks for your reply. I thought you were using a waybar as your bar. I will have a try for eww:)
I am using waybar for the bar, it's just that I use eww for just the widget, I'm currently using other widgets and dropped off the spotify one entirely in my current config in favor of swaync for the notifications/music player widget.
I hope I helped clarify any questions!
i get it, thanks for your detailed answer.
thanks for your awesome dotfile! it's cool. i have a problem how to achieve the spotify widget with some image and button in the right top position.