mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Removed bashpower.stop, as it is no longer relevant
This commit is contained in:
+1
-2
@@ -164,10 +164,9 @@ if [ "$formfactor" == 1 ]; then
|
||||
m:0x0 + c:233
|
||||
XF86MonBrightnessUp' > /home/"$username"/.xbindkeysrc
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/bashpower-g14/bashpower.start -o /etc/local.d/bashpower.start
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/bashpower-g14/bashpower.stop -o /etc/local.d/bashpower.stop
|
||||
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/programs/NVIDIA-FCKR/NVIDIA-FCKR -o /usr/local/bin/NVIDIA-FCKR
|
||||
pacman -S mesa vulkan-icd-loader vulkan-radeon libva-mesa-driver libva-utils acpi_call --needed --noconfirm
|
||||
chmod 755 /etc/local.d/bashpower.start /etc/local.d/bashpower.stop /usr/local/bin/NVIDIA-FCKR
|
||||
chmod 755 /etc/local.d/bashpower.start /usr/local/bin/NVIDIA-FCKR
|
||||
fi
|
||||
|
||||
# ssh configuration
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# this bashpower script is intended for ASUS gaming laptops, 2020-2022
|
||||
# it has been tested on the 2020 Zephyrus G14 (GA401IV)
|
||||
# kernel 5.17+ is required for full functionality
|
||||
# place in /etc/local.d and use in conjunction with OpenRC for best results
|
||||
|
||||
# create config directory and set default settings
|
||||
mkdir -p /usr/local/bashpower
|
||||
if [ ! -f /usr/local/bashpower/gpu ] ; then
|
||||
echo integrated > /usr/local/bashpower/gpu
|
||||
fi
|
||||
|
||||
# import user settings
|
||||
gpu=$(< /usr/local/bashpower/gpu)
|
||||
|
||||
## on run:
|
||||
|
||||
# set next boot gpu
|
||||
supergfxctl -m integrated
|
||||
Reference in New Issue
Block a user