diff options
Diffstat (limited to 'bin/xbg')
-rwxr-xr-x | bin/xbg | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/xbg b/bin/xbg index bde015d..339ed69 100755 --- a/bin/xbg +++ b/bin/xbg @@ -1,10 +1,7 @@ #!/bin/sh -# checks to see if .fehbg exists. if so, sources it and exits. # if there is an argument, forcibly symlink it to $PICPATH and set $PICPATH to the background using xwallpaper. # if there is not an argument, set the wallpaper through the aforementioned method without setting the symlink. # $PICPATH is by default $XDG_PICTURES_DIR/bg.png, determined by xdg-user-dir if available or assumed to be ~/Pictures/bg.png if unavailable. $PICPATH can be set by the user in shrc if they wish to use a different background location. -[ -e "$HOME/.fehbg" ]&&. "$HOME/.fehbg"&&exit - if command -v xdg-user-dir >/dev/null; then PICPATH=${PICPATH:="$(xdg-user-dir PICTURES)/bg.png"} else |