config/yadm: add Mixxx symlinks to bootstrap & update yadm

This commit is contained in:
xerus2000 2021-01-07 12:01:57 +01:00
parent d6e07da75e
commit d725b6bd2e
2 changed files with 4 additions and 1 deletions

View File

@ -1 +0,0 @@
repo.git

View File

@ -67,6 +67,10 @@ if test -f /etc/pacman.conf; then
sudo systemctl enable reflector.timer
fi
highlight "Mixxx symlinks"
mkdir -p ~/.mixxx
ln -s -t ~/.mixxx ${XDG_DATA_HOME:-$HOME/.local/share}/mixxx/* ${XDG_CONFIG_HOME:-$HOME/.config}/mixxx/*
highlight "Block internet at night & on weekdays in the morning to force focus"
# https://askubuntu.com/a/124512 and https://blog.sleeplessbeastie.eu/2018/06/21/how-to-create-iptables-firewall-using-custom-chains/
sudo iptables --new-chain chain-times 2>/dev/null || sudo iptables --flush chain-times