Improve wallpaper-setting pipeline robustness
[khome.git] / home / .xlaunch.d / background
1 #! /bin/bash
2
3 set -e
4
5 BG_COLOR='#b2b2a0'
6
7 #xsetroot -solid "$BG_COLOR"
8 hsetroot -solid "$BG_COLOR" # Because xsetroot is incompatible with compton.
9
10 if test -f "$FILE_WALLPAPER_CURR"
11 then
12 bg_image=$(< "$FILE_WALLPAPER_CURR")
13 feh --bg-scale "$bg_image"
14 fi
This page took 0.052767 seconds and 4 git commands to generate.