Update setup script

This commit is contained in:
Jake Bauer 2023-06-26 02:16:30 -04:00
parent c7b11c4179
commit 42c39f78da
1 changed files with 10 additions and 5 deletions

View File

@ -41,12 +41,17 @@ if [ ! -x "$(command -v pkg_add)" ]; then
else
echo "Installing packages, you might want to grab a cup of tea..."
doas pkg_add -l ~/Documents/Projects/dotfiles/pkglist
set -x
echo "/usr/bin/openrsync -> /usr/bin/rsync"
doas ln -s /usr/bin/openrsync /usr/bin/rsync
echo "/usr/local/bin/uctags -> /usr/local/bin/ctags"
doas ln -s /usr/local/bin/uctags /usr/local/bin/ctags
set -
echo "Done!"
echo "Done installing packages."
fi
echo "Don't forget to enable obsdfreqd and apmd if on a laptop."
echo "Add 'pkill xmessage' to /etc/X11/xenodm/GiveConsole and tweak pixel offsets for current resolution."
echo "Enabling power management services..."
doas rcctl enable obsdfreqd apmd
doas rcctl set apmd flags -L -Z10
doas rcctl start obsdfreqd apmd
echo "All done!"
echo "Manually add 'pkill xmessage' to /etc/X11/xenodm/GiveConsole and tweak pixel offsets for current resolution if necessary."