Backport WM/dmenu xerror & UTF-8 fixes, add wallpaper manager, and set Anodized default
- wm,dmenu: backport ANODE a92e196 fixes for xerror recursion guards, non-fatal RENDER error suppression, bounded getservertime() polling, pointer ungrab/AsyncBoth/GrabModeAsync grab safety, FC_COLOR=FcFalse substitution, and UTF-8 sanitization + Pango ellipsization in drw.c - wallpaper: port native X11 + Cairo wallpaper engine (geminux-wallpaper.h, geminux-wallpaper-x11.h) with pure-C gdk-pixbuf/PNG/JPEG/WebP/magick decoding, Wallpaper tab + CLI in geminux-themes, geminux-apply-wallpaper helper, and session/theme/HDMI/launcher hooks - theme: set Anodized as default theme in /etc/skel/.Xresources and compiled-in/script fallbacks across libgemui, dwm, dmenu, st, webarchy, geminux-sync-gtk-theme, and geminux-sync-dunst-theme - verify: extend check-rebuild.sh and test-theme-dunst-sync.py, prune stale skel theme artifacts in apply-geminux-overlay.sh, and rebuild prebuilt binaries
This commit is contained in:
1 parent
6fcc263256
commit
09c1e2ad36
32 files changed
+2852
-304
No files matched your search
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
# Apply or restore the Geminux desktop wallpaper via geminux-themes CLI engine (POSIX sh)
|
||||
set -eu
|
||||
|
||||
case "${1:-}" in
|
||||
-h|--help)
|
||||
printf 'Usage:\n'
|
||||
printf ' geminux-apply-wallpaper [--restore]\n'
|
||||
printf ' geminux-apply-wallpaper IMAGE_PATH [--mode fill|fit|center|tile|stretch|span] [--bg #RRGGBB|theme] [--no-save]\n'
|
||||
printf ' geminux-apply-wallpaper --solid #RRGGBB [--no-save]\n'
|
||||
printf ' geminux-apply-wallpaper --theme-bg [--no-save]\n'
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
||||
|
||||
if [ -x "$SCRIPT_DIR/geminux-themes" ]; then
|
||||
BIN="$SCRIPT_DIR/geminux-themes"
|
||||
elif command -v geminux-themes >/dev/null 2>&1; then
|
||||
BIN="$(command -v geminux-themes)"
|
||||
else
|
||||
printf 'geminux-apply-wallpaper: geminux-themes executable not found\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "${1:-}" in
|
||||
""|--restore)
|
||||
exec "$BIN" --restore-wallpaper
|
||||
;;
|
||||
*)
|
||||
exec "$BIN" --apply-wallpaper "$@"
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user