summaryrefslogtreecommitdiffstats
path: root/set-background.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-05-11 13:03:54 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-05-11 13:03:54 +0200
commita9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab (patch)
tree3262e1dbda911fc32e156de213af574f326b4794 /set-background.sh
parent66f84afc20c5bb627ec5979bd9b3e8b144c3419d (diff)
downloadbin-a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab.tar.gz
bin-a9ba01279e6f3c64b082f4de6e7d95cd1b5f7dab.tar.xz
lots of new stuff and misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'set-background.sh')
-rwxr-xr-xset-background.sh5
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