improve screen configuration and linking
This commit is contained in:
@@ -17,7 +17,9 @@ _msg "Configuring pacman"
|
||||
sed -i "s|^#Color.*|Color|" /etc/pacman.conf
|
||||
sed -i "s|^#ParallelDownloads.*|ParallelDownloads = 10|" /etc/pacman.conf
|
||||
_msg "Configuring reflector"
|
||||
mkdir -p /etc/xdg/reflector
|
||||
ln -sf "$_DIRNAME/links/reflector/reflector.conf" /etc/xdg/reflector/reflector.conf
|
||||
mkdir -p /etc/systemd/system/timers.target.wants
|
||||
ln -sf "/usr/lib/systemd/system/reflector.timer" "/etc/systemd/system/timers.target.wants/reflector.timer"
|
||||
_msg "Updating packages"
|
||||
pacman -Syu --noconfirm
|
||||
@@ -41,7 +43,6 @@ _info "Linking config files"
|
||||
_msg "modprobe links"
|
||||
ln -sf "${_DIRNAME}/links/modprobe/blacklist.conf" /etc/modprobe.d/blacklist.conf
|
||||
_msg "fstrim links"
|
||||
'/etc/systemd/system/timers.target.wants/fstrim.timer' → '/usr/lib/systemd/system/fstrim.timer'.
|
||||
ln -sf "/usr/lib/systemd/system/fstrim.timer" "/etc/systemd/system/timers.target.wants/fstrim.timer"
|
||||
_msg "tty links"
|
||||
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
||||
@@ -63,13 +64,13 @@ _msg "dunst links"
|
||||
ln -sf "$_DIRNAME/links/dunst/dunstrc" /etc/dunst/dunstrc
|
||||
_msg "i3 links"
|
||||
ln -sf "$_DIRNAME/links/i3wm/config" /etc/i3/config
|
||||
ln -sf "$_DIRNAME/links/i3wm/home" /etc/i3/home
|
||||
ln -sf "$_DIRNAME/links/i3wm/work" /etc/i3/work
|
||||
[[ "$_LOCATION" == "work" ]] && ln -sf "$_DIRNAME/links/i3wm/work" /etc/i3/screen
|
||||
[[ "$_LOCATION" == "home" ]] && ln -sf "$_DIRNAME/links/i3wm/home" /etc/i3/screen
|
||||
_msg "polybar links"
|
||||
ln -sf "$_DIRNAME/links/polybar/config.ini" /etc/polybar/config.ini
|
||||
ln -sf "$_DIRNAME/links/polybar/colors.ini" /etc/polybar/colors.ini
|
||||
ln -sf "$_DIRNAME/links/polybar/home.ini" /etc/polybar/home.ini
|
||||
ln -sf "$_DIRNAME/links/polybar/work.ini" /etc/polybar/work.ini
|
||||
[[ "$_LOCATION" == "work" ]] && ln -sf "$_DIRNAME/links/polybar/work.ini" /etc/polybar/screen.ini
|
||||
[[ "$_LOCATION" == "home" ]] && ln -sf "$_DIRNAME/links/polybar/home.ini" /etc/polybar/screen.ini
|
||||
_msg "rofi links"
|
||||
mkdir -p ~/.config/rofi ~/.local/share/rofi/themes
|
||||
ln -sf "$_DIRNAME/links/rofi/config.rasi" ~/.config/rofi/config.rasi
|
||||
@@ -107,8 +108,6 @@ then
|
||||
sed -i "s|^include-file = /etc/polybar/work.ini|include-file = /etc/polybar/home.ini|" ./links/polybar/config.ini
|
||||
fi
|
||||
|
||||
### Add no sandbox
|
||||
_info "Add --no-sandbox if needed"
|
||||
### nvidia vs amd
|
||||
|
||||
### Print kernel cmdline
|
||||
|
||||
Reference in New Issue
Block a user