mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-08-28 04:46:27 -04:00
Disable g14-bashpower's screen brightness control, as this is now handled by Plasma 6.2
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
loadkeys us
|
loadkeys us
|
||||||
echo ----------------------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------------------
|
||||||
echo rwinkhart\'s Artix Install Script
|
echo rwinkhart\'s Artix Install Script
|
||||||
echo Last updated October 05, 2024 \(rev. A\)
|
echo Last updated October 16, 2024 \(rev. A\)
|
||||||
echo ----------------------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------------------
|
||||||
echo You will be asked some questions before installation.
|
echo You will be asked some questions before installation.
|
||||||
echo -e "----------------------------------------------------------------------------------------------\n"
|
echo -e "----------------------------------------------------------------------------------------------\n"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ fi
|
|||||||
governor=$(< /usr/local/bashpower/governor)
|
governor=$(< /usr/local/bashpower/governor)
|
||||||
batt_limit=$(< /usr/local/bashpower/batt_limit)
|
batt_limit=$(< /usr/local/bashpower/batt_limit)
|
||||||
fan_curve=$(< /usr/local/bashpower/fan_curve)
|
fan_curve=$(< /usr/local/bashpower/fan_curve)
|
||||||
screen_brightness=$(< /usr/local/bashpower/screen_brightness)
|
#screen_brightness=$(< /usr/local/bashpower/screen_brightness)
|
||||||
|
|
||||||
# BEGIN BOOT OPERATIONS
|
# BEGIN BOOT OPERATIONS
|
||||||
## set cpu governor
|
## set cpu governor
|
||||||
@@ -44,7 +44,7 @@ done
|
|||||||
echo 0 > /sys/class/leds/asus::kbd_backlight/brightness
|
echo 0 > /sys/class/leds/asus::kbd_backlight/brightness
|
||||||
|
|
||||||
## set screen brightness
|
## set screen brightness
|
||||||
echo $screen_brightness > /sys/class/backlight/amdgpu_bl0/brightness
|
#echo $screen_brightness > /sys/class/backlight/amdgpu_bl0/brightness
|
||||||
|
|
||||||
## set battery charge limit
|
## set battery charge limit
|
||||||
echo "$batt_limit" > /sys/class/power_supply/BAT0/charge_control_end_threshold
|
echo "$batt_limit" > /sys/class/power_supply/BAT0/charge_control_end_threshold
|
||||||
|
|||||||
Reference in New Issue
Block a user