X11 bitmap (.xbm) file manager for xsetroot.
It shows a bitmap preview and allows you to place it as a wallpaper.
-
Inspired by:
https://github.com/dkeg/bitmap-walls.git -
Generates a script in
~/.xbmpwall.shto place the wallpaper at the beginning of your session with all the information required byxsetroot
preview.mp4
-
Requirements:
C11, POSIX.1-2008libX11libXaw (X11 Athena Widget library)autotools(*)xsetrootsh
-
Process:
-
autoreconf -fi(*) -
debug:
$ ./configure CFLAGS="-O2 -g -Wall -Wextra" CPPFLAGS="-DDEBUG" && make
-
release:
$ ./configure CFLAGS="-O3" CPPFLAGS="-DNDEBUG" && make
-
(*) Only if you build from GIT.
Note: Please, if you want to help find bugs, compile in Debug mode.
Recommended to download the bitmaps collection from: https://github.com/dkeg/bitmap-walls.git
- Open
xbmpwallindicating the file or files of bitmaps (* .xbm), for example:
$ xbmpwall $(pwd)/arches.xbm $(pwd)/balls.xbm
$ xbmpwall ~/bitmap-walls/{patterns/*.xbm,bw-bgnd/*.xbm}
Note: the path to the file must be absolute
-
Each time you select a bitmap or a color(background or foreground),
xsetrootis executed to place the wallpaper. -
To change between the color selection:
-
press ⌨️ key
Spaceto change selection mode:foreground colororbackground colorthen -
if cursor of mouse is ⬆️ the selection mode is:
foreground color -
if cursor of mouse is ⬇️ the selection mode is:
background color
-
When the program finishes, the file ~/.xbmpwall.sh will be saved automatically with the indications for xsetroot.
This script in 'sh' has the executable attribute.
For example, you can modify some properties in ~/.Xresources:
XBmpWall*font: -*-terminus-bold-*-*-*-12-*-*-*-*-*-*-*
XBmpWall*.background: #ECE9D8
XBmpWall*foreground: red
-
What is a
backgroundcolor?Corresponds to the white color of the XBM file format.
-
What is a
foregroundcolor?Corresponds to the black color of the XBM file format.

