Wallpapers

This commit is contained in:
Frank Villaro-Dixon 2013-06-04 19:07:01 +02:00
parent 9a8ce89b63
commit 49a4423e99
4 changed files with 9 additions and 4 deletions

View file

@ -23,3 +23,5 @@ case "$1" in
--output VGA1 --auto --rotate normal
;;
esac
~/Pictures/wallpapers/chooseWP.sh

4
chooseWP.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
wallpaper_path=/home/frank/Pictures/wallpapers/
image=$(ls $wallpaper_path | grep -E '(jpg|png)$' | sort -R | tail -1)
feh --bg-scale $wallpaper_path/$image &

View file

@ -10,6 +10,8 @@ ln -s $WAI/vimrc ./.vimrc
ln -s $WAI/gitconfig ./.gitconfig
ln -s $WAI/xinitrc ./.xinitrc
ln -s $WAI/chooseWP.sh ~/Pictures/wallpapers/chooseWP.sh
#SSH
if [ ! -d "~/.ssh" ]; then mkdir .ssh/; fi;
cd ~/.ssh

View file

@ -14,10 +14,7 @@ fi
#DWM
#First, choose the wallpaper (important, isn't it ? :p)
wallpaper_path=/home/frank/Pictures/wallpapers/
image=$(ls $wallpaper_path | grep -E '(jpg|png)$' | sort -R | tail -1)
feh --bg-scale $wallpaper_path/$image &
~/Pictures/wallpapers/chooseWP.sh &
while true; do