Wallpapers
This commit is contained in:
parent
9a8ce89b63
commit
49a4423e99
4 changed files with 9 additions and 4 deletions
|
@ -23,3 +23,5 @@ case "$1" in
|
|||
--output VGA1 --auto --rotate normal
|
||||
;;
|
||||
esac
|
||||
|
||||
~/Pictures/wallpapers/chooseWP.sh
|
||||
|
|
4
chooseWP.sh
Executable file
4
chooseWP.sh
Executable 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 &
|
|
@ -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
|
||||
|
|
5
xinitrc
5
xinitrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue