Custom Module Images #4385
-
|
Hi I have a custom module with a script that returns an image path. How can i make it so that the image is displayed and so the path is not just put down as text. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Module code: CSS: |
Beta Was this translation helpful? Give feedback.
-
|
I'VE GOT IT WORKING! Here's a gif showing it. Step 1: Create an image outside of your assets folder (I copied the first bongo cat frame to my main Waybar folder and renamed it to Step 2: Create this file: Step 3: Create a Step 4: In your main Step 5: Add the module to your Waybar config (the At the top of your Waybar config, make sure you have Step 6: Edit your compositor's config to load the The I hope this made sense! I know it's kind of a lot, but Waybar is pretty limited when it comes to images, so this was honestly the least ridiculous method I could come up with lol. |
Beta Was this translation helpful? Give feedback.





I'VE GOT IT WORKING! Here's a gif showing it.
Okay, I'm going to try to be as clear as possible, but if you have any questions, I'm more than happy to answer them.
Step 1: Create an image outside of your assets folder (I copied the first bongo cat frame to my main Waybar folder and renamed it to
Bongo_Cat_CURRENT).Step 2: Create this file:
$HOME/.config/waybar/bongo-cat-frame.css:Step 3: Create a
.shfile calledbongo-cat.sh. I p…