Add G14 Setup

This commit is contained in:
2023-05-08 20:39:37 -07:00
parent e7a4a8ef79
commit c5f45941aa
3 changed files with 47 additions and 2 deletions

3
.gitignore vendored
View File

@ -14,4 +14,5 @@ plasma-kickoff*
Qogir* Qogir*
Qogir/* Qogir/*
visual-studio* visual-studio*
yay* yay*
g14.sec

View File

@ -93,6 +93,20 @@ flatpak install flathub \
org.libreoffice.LibreOffice \ org.libreoffice.LibreOffice \
org.kde.kalk \ org.kde.kalk \
com.nextcloud.desktopclient.nextcloud \ com.nextcloud.desktopclient.nextcloud \
org.kde.kdenlive \
com.github.tchx84.Flatseal \
io.dbeaver.DBeaverCommunity \
io.github.mightycreak.Diffuse \
com.unity.UnityHub \
com.github.k4zmu2a.spacecadetpinball \
org.prismlauncher.PrismLauncher \
net.openra.OpenRA \
net.rpcs3.RPCS3 \
org.yuzu_emu.yuzu \
org.kde.ksudoku \
org.kde.krita \
org.inkscape.Inkscape \
org.kde.gwenview \
--assumeyes --assumeyes
# PIA # PIA
@ -175,6 +189,9 @@ sudo systemctl stop avahi-daemon
sudo systemctl start avahi-daemon sudo systemctl start avahi-daemon
sudo systemctl enable avahi-daemon sudo systemctl enable avahi-daemon
# Printer
sudo systemctl enable --now cups
# Setup screenshot hotkeys # Setup screenshot hotkeys
# shotgun - | xclip -t 'image/png' -selection clipboard # shotgun - | xclip -t 'image/png' -selection clipboard
@ -184,4 +201,4 @@ echo "#!/bin/bash" >> $HOME/.config/plasma-workspace/env/path.sh
echo "export MOZ_ENABLE_WAYLAND=1" >> $HOME/.config/plasma-workspace/env/path.sh echo "export MOZ_ENABLE_WAYLAND=1" >> $HOME/.config/plasma-workspace/env/path.sh
# AUR Packages # AUR Packages
yay -S --nodiffmenu visual-studio-code-bin ttf-ms-win10-auto yay -S --nodiffmenu visual-studio-code-bin ttf-ms-win10-auto

27
g14.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
# Disable running as root.
if [[ "$EUID" -eq 0 ]]; then
echo "Please do not run as root"
exit 1
fi
if grep -q 'g14' "/etc/pacman.conf"; then
echo 'Pacman already contains G14 repo, skipping'
else
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35
wget "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8b15a6b0e9a3fa35" -O g14.sec
sudo pacman-key -a g14.sec
echo '[g14]' | sudo tee -a /etc/pacman.conf
echo 'Server = https://arch.asus-linux.org' | sudo tee -a /etc/pacman.conf
fi
sudo pacman -Syuu
sudo pacman -S -q --noconfirm asusctl supergfxctl rog-control-center
sudo systemctl enable --now power-profiles-daemon.service
sudo systemctl enable --now supergfxd