vpn button waybar
This commit is contained in:
16
install.bash
16
install.bash
@ -57,15 +57,6 @@ pacman -S networkmanager wpa_supplicant
|
||||
echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autologin alex %I $TERM' | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null && sudo systemctl enable getty@tty1
|
||||
|
||||
# Battery optimization
|
||||
# https://github.com/AdnanHodzic/auto-cpufreq?tab=readme-ov-file#installing-auto-cpufreq
|
||||
#git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
#cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
#sudo auto-cpufreq --install
|
||||
#sudo auto-cpufreq --update
|
||||
#sudo auto-cpufreq --stats
|
||||
# https://wiki.archlinux.org/title/Framework_Laptop_13#Battery_control
|
||||
#yay -S fw-ectool-git
|
||||
#ectool chargecontrol normal 80 80
|
||||
cp ~/dotfiles/etc/tlp.conf /etc/
|
||||
pacman -S tlp tlp-rdw
|
||||
systemctl enable --now tlp.service
|
||||
@ -76,6 +67,9 @@ systemctl mask systemd-rfkill.socket # Also needed for auto-disable BT
|
||||
# Make wireguard connection persistent in /etc/wireguard
|
||||
echo "PersistentKeepalive = 25" >> /etc/wireguard/home.conf
|
||||
|
||||
# After installing Anki, force Anki to use Wayland by replacing Exec= in /usr/local/share/applications/anki.desktop
|
||||
# Exec=env ANKI_WAYLAND=1 anki %f
|
||||
|
||||
###################################################################
|
||||
# MANUAL CONFIGURATION REQUIRED
|
||||
###################################################################
|
||||
@ -86,7 +80,3 @@ echo "PersistentKeepalive = 25" >> /etc/wireguard/home.conf
|
||||
pacman -S cava bluez-utils bluez pipewire-pulse ttf-jetbrains-mono-nerd wireplumber
|
||||
yay -S rofi-lbonn-wayland-git bluetui
|
||||
systemctl enable --now bluetooth.service
|
||||
|
||||
# Battery optimization:
|
||||
sudo pacman -S tlp
|
||||
|
||||
|
Reference in New Issue
Block a user