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