|
diff --git a/shenanigans.sh b/shenanigans.sh
|
| ... |
| 76 |
cd $VHOME/dotfiles |
76 |
cd $VHOME/dotfiles |
| 77 |
|
77 |
|
| 78 |
# Make a copy of certain files. |
78 |
# Make a copy of certain files. |
| 79 |
cp /home/$USER/.shenanigans.sh shenanigans.sh |
79 |
rsync -azv /home/$USER/.bash_history_infinite bash_history_infinite |
| 80 |
cp /home/$USER/.bash_history_infinite bash_history_infinite |
80 |
rsync -azv /home/$USER/.ssh/ ssh |
| 81 |
cp /home/$USER/.gitconfig gitconfig |
81 |
rsync -azv /home/$USER/.aws/ aws |
| 82 |
|
82 |
rsync -azv /home/$USER/.gnupg/ gnupg/ |
| 83 |
cp -Rf /home/$USER/.ssh/ ./ |
|
|
| 84 |
cp -Rf /home/$USER/.aws/ ./ |
|
|
| 85 |
|
|
|
| 86 |
find /home/$USER/Videos -type f -name "*.webm" -exec cp -n {} $VHOME/videos/ \; |
|
|
| 87 |
find /home/$USER/Pictures -type f -name "*.png" -exec cp -n {} $VHOME/pictures/ \; |
|
|
| 88 |
|
83 |
|
| 89 |
# Sync with NAS. |
84 |
# Sync with NAS. |
| 90 |
rsync -azv \ |
85 |
rsync -azvpog \ |
| 91 |
--exclude '.venv/' \ |
86 |
--exclude '.venv/' \ |
| 92 |
--exclude '.git/' \ |
87 |
--exclude '.git/' \ |
| 93 |
--exclude '.import/' \ |
88 |
--exclude '.import/' \ |
| ... |
| 100 |
|
95 |
|
| 101 |
# Add to log file. |
96 |
# Add to log file. |
| 102 |
echo `date +"%D %T"` >> ~/.vault.log |
97 |
echo `date +"%D %T"` >> ~/.vault.log |
|
|
98 |
notify-send "Backup finished successfully." |
| 103 |
|
99 |
|
| 104 |
# Return back to original directory |
100 |
# Return back to original directory |
| 105 |
cd $CWD |
101 |
cd $CWD |
| ... |
| 200 |
fi |
196 |
fi |
| 201 |
|
197 |
|
| 202 |
pactl set-default-sink "${sinks[$next_index]}" |
198 |
pactl set-default-sink "${sinks[$next_index]}" |
|
|
199 |
notify-send "Switched to sink: ${sinks[$next_index]}" |
| 203 |
} |
200 |
} |
| 204 |
|
201 |
|
|
diff --git a/symlink.sh b/symlink.sh
|
| ... |
| 9 |
ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh |
9 |
ln -s ~/.dotfiles/shenanigans.sh ~/.shenanigans.sh |
| 10 |
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf |
10 |
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf |
| 11 |
ln -s ~/.dotfiles/vimrc ~/.vimrc |
11 |
ln -s ~/.dotfiles/vimrc ~/.vimrc |
|
|
12 |
ln -s ~/.dotfiles/gitconfig ~/.gitconfig |
| 12 |
ln -s ~/.dotfiles/i3config ~/.config/i3/config |
13 |
ln -s ~/.dotfiles/i3config ~/.config/i3/config |
| 13 |
ln -s ~/.dotfiles/i3status ~/.config/i3status/config |
14 |
ln -s ~/.dotfiles/i3status ~/.config/i3status/config |
| 14 |
ln -s ~/.dotfiles/rssfeeds ~/.newsboat/urls |
15 |
ln -s ~/.dotfiles/rssfeeds ~/.newsboat/urls |
| ... |