home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve wallpaper-setting pipeline robustness
[khome.git]
/
home
/
.xlaunch.d
/
background
diff --git
a/home/.xlaunch.d/background
b/home/.xlaunch.d/background
index
ab4c301
..
a02d34c
100755
(executable)
--- a/
home/.xlaunch.d/background
+++ b/
home/.xlaunch.d/background
@@
-3,8
+3,12
@@
set -e
BG_COLOR='#b2b2a0'
set -e
BG_COLOR='#b2b2a0'
-BG_IMAGE=$(< "$FILE_WALLPAPER_CURR")
#xsetroot -solid "$BG_COLOR"
hsetroot -solid "$BG_COLOR" # Because xsetroot is incompatible with compton.
#xsetroot -solid "$BG_COLOR"
hsetroot -solid "$BG_COLOR" # Because xsetroot is incompatible with compton.
-feh --bg-scale "$BG_IMAGE"
+
+if test -f "$FILE_WALLPAPER_CURR"
+then
+ bg_image=$(< "$FILE_WALLPAPER_CURR")
+ feh --bg-scale "$bg_image"
+fi
This page took
0.027085 seconds
and
4
git commands to generate.