diff options
Diffstat (limited to 'set-background.sh')
-rwxr-xr-x | set-background.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/set-background.sh b/set-background.sh index 8d72476..ea48e05 100755 --- a/set-background.sh +++ b/set-background.sh @@ -26,10 +26,11 @@ cd "$(dirname "$1")" FILE="$(pwd)/$(basename "$1")" if [ -f "$FILE" ]; then - echo "feh --bg-tile '${FILE}'" > "$HOME/.fehbg"; + #echo "feh --bg-tile '${FILE}'" > "$HOME/.fehbg"; + echo "habak -mS '${FILE}'" > "$HOME/.bg"; #rm "$HOME/backgrounds/current_bg"; #ln -sf "${FILE}" "$HOME/backgrounds/current_bg"; - source $HOME/.fehbg + source $HOME/.bg else notify-send -t 10000 "Background" "Error: File \"${FILE}\" doesn't exist"; exit 1 |