new dotfiles commit

This commit is contained in:
piccihud 2023-09-05 19:11:24 +02:00
parent 90e091e9cb
commit 237d630185
2 changed files with 12 additions and 0 deletions

11
swaybg.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
swaybg -i $(find ~/git/Wallpapers/img/ -type f | shuf -n1) -m fill &
OLD_PID=$!
while true; do
sleep 295
swaybg -i $(find ~/git/Wallpapers/img/ -type f | shuf -n1) -m fill &
NEXT_PID=$!
sleep 5
kill $OLD_PID
OLD_PID=$NEXT_PID
done

1
swaydotfile.sh Executable file
View File

@ -0,0 +1 @@
rsync -az ~/.config/sway ~/.config/swaylock ~/.config/waybar ~/.config/wofi ~/scripts/swaybg.sh ~/scripts/swaydotfile.sh ~/.config/ranger ~/.config/alacritty ~/.vimrc ~/.profile ~/.bashrc ~/.inputrc ~/.config/kitty ~/.config/feh ~/git/swayDotfiles/ && cd ~/git/swayDotfiles && git add . && git commit -m "new dotfiles commit" && git push -u origin main