Add desktop environment configs and provisioning scripts for debian

- Add qutebrowser configs
- Add xfce4-panel config
- Add provision_debian script
- Add upgrade_debian script
- Refactor sync script to separate terminal and desktop env configs
This commit is contained in:
mitchell 2020-09-29 03:02:28 -04:00
parent 116620843a
commit b76aac107e
12 changed files with 516 additions and 11 deletions

35
upgrade_debian Executable file
View file

@ -0,0 +1,35 @@
#!/usr/bin/env fish
function main
log 'Upgrading debian to unstable.' head
echo '
deb http://deb.debian.org/debian unstable main contrib non-free
deb-src http://deb.debian.org/debian unstable main contrib non-free' | sudo tee /etc/apt/sources.list
sudo apt-get update > /dev/null 2>&1
sudo apt-get dist-upgrade --yes
log 'Done upgrading debian to unstable and rebooting.' tail
sudo reboot
end
function log -a message level
if test "$level" = head
echo "
###########################################################################################
#
#--> $message"
else if test "$level" = tail
echo "#
#--> $message
#
###########################################################################################
"
else
echo -e "#\n#--> $message"
end
end
main