Skip to content

Wallpapers Configuration

gh0stzk edited this page Dec 12, 2024 · 5 revisions

You can choose one of the 4 options that exist to set your wallpaper.

  • Theme: Will load a random image from the ~/.config/bspwm/rices/rice you are in/Walls directory. There you can add or delete the images you want as you wish.

  • CustomDir: Same as the Theme option but you can choose the directory from which the image will be loaded at random.

  • CustomImage: You can select an image and it will not change even if you restart, whenever you return to that theme, that image will prevail.

  • AnimatedWall: You can choose a video or gif to set as wallpaper. There are only three file types that you can select for this action (mp4, mkv, gif)

Supported file types for not animated walls include almost all, jpeg, png, webp, tiff, bmp.

The wallpapers are in webp format because I don't want the repository to be too heavy. I Added the packages libwebp and webp-pixbuf-loader to the dependencies in order for your file browser (in my case thunar) to be able to display the thumbnails. However, you can add more wallpapers in the format you want "jpg, png etc..."

Change wallpaper engine

There are 2 ways to do it.

Manually by editing the file ~/.config/bspwm/rices/theme you are in/theme-config.bash change the ENGINE variable for one of the 4 options, and if necessary, write the path to the desired directory or image in the respective variables.

Shot-2024-12-12-081333

Or you can use my RiceEditor app to change it and apply on the fly your changes.

Shot-2024-12-12-075313

If you do it manually you will have to restart bspwm with super + alt + r or change the theme and return to the same theme again.

The changes are per theme, in each theme, you can have a different engine. That is, in one theme you can have an image without it changing, in another theme you can have an animated wallpaper, in another you can have a random image from the directory that you decide, etc..

Animated wallpapers

You can choose to set your animated wallpaper between 3 different types of files, mp4, mkv and gif.

I added 7 animated wallpapers in the folder ~/.config/bspwm/src/assets/ in mp4 format and with a size of 1600x900

The problem is that if your resolution is greater than 1600x900 you will probably see black borders in the corners. And I added those videos as a reference and trying to make them weigh as little as possible, they all have a resolution of 1600x900.

But that is solved in 2 ways, the simplest, download your gifs, or your own videos, there are many pages that offer animated wallpapers.

The other, let's imagine that you really liked one of the videos that I uploaded as a reference to have them as wallpapers, but for your resolution they appear with black corners, well you just have to change the size of the video and you can do it online in a very easy way. Simple, I use the page https://ezgif.com/resize-video, just attach the video and change the resolution to your resolution. Download it and that's it.

Clone this wiki locally