aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/bgcol
blob: 7176f160a8cb3972ca08f24026d8b7c64abefa36 (plain)
1
2
3
4
5
6
#!/bin/sh
COLOR="$1"
[ -z "$COLOR" ] && COLOR="$(xrdb -get background)"
convert -size 1x1 "xc:$COLOR" /tmp/bgcol.png
feh --no-fehbg --bg-tile /tmp/bgcol.png
rm /tmp/bgcol.png