From 237d630185597a8c6288517c0c1e5ddd5d823219 Mon Sep 17 00:00:00 2001 From: piccihud Date: Tue, 5 Sep 2023 19:11:24 +0200 Subject: [PATCH] new dotfiles commit --- swaybg.sh | 11 +++++++++++ swaydotfile.sh | 1 + 2 files changed, 12 insertions(+) create mode 100755 swaybg.sh create mode 100755 swaydotfile.sh diff --git a/swaybg.sh b/swaybg.sh new file mode 100755 index 0000000..c1ac6a0 --- /dev/null +++ b/swaybg.sh @@ -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 diff --git a/swaydotfile.sh b/swaydotfile.sh new file mode 100755 index 0000000..137cff8 --- /dev/null +++ b/swaydotfile.sh @@ -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