From dede351e63843e964229d0ac52a10f24f8de5347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 3 Jul 2018 19:59:35 +0200 Subject: [PATCH] Fix fluxbox wallpaper (and change it to be a checkerboard) --- utils/gui-wrapper.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/utils/gui-wrapper.sh b/utils/gui-wrapper.sh index ad4940c..c643636 100755 --- a/utils/gui-wrapper.sh +++ b/utils/gui-wrapper.sh @@ -7,17 +7,23 @@ shift # the following arguments are the program to execute and its arg bg="$(mktemp --suffix='.png')" fb_cfg="$(mktemp --suffix='fluxbox.cfg')" +fb_sty="$(mktemp --suffix='fluxbox.style')" # Create solid black background -convert -size 16x16 xc:black "$bg" +convert -size "$(echo "$resolution" | cut -d 'x' -f1-2)" tile:pattern:checkerboard "$bg" # Create minimalist fluxbox configuration -cat > "$fb_cfg" < "$fb_sty" < "$fb_cfg" </dev/null & sleep 3; "$@"' utils/gui-wrapper.sh-subshell "$@" # Cleanup -rm "$bg" "$fb_cfg" \ No newline at end of file +rm "$bg" "$fb_cfg"