Go module for setting the background image under X (Xorg/X11).
WORK IN PROGRESS
- Can be used together with window managers like
i3
andAwesomeWM
. - Intended to be used by wallutils.
- By using
New()
and.Release()
, the X11 struct is thread-safe. TheSetWallpaper
function uses these. - Uses
setroot
directly, by having it as a git submodule and generating a header file withgo generate
.
A test-utility is included in cmd/grumpybg/
.
- Rewrite the C code using a Go module that can use the X11 protocol directly, then make it thread-safe.
- Support multiple monitors in
x11.go
. - Support monitor rotation in
x11.go
.
- Version: 0.2.0
- License: MIT
- Author: Alexander F. Rødseth <xyproto@archlinux.org>
bgs.h
is a modified version of bgs.c
that is licensed under the MIT/X license and is copyright © 2007-2008 Enno Gottox Boland .