update
This commit is contained in:
parent
0b12bf586e
commit
6af3f253d5
6 changed files with 51 additions and 41 deletions
|
|
@ -1,19 +1,29 @@
|
|||
#!/usr/bin/zsh
|
||||
|
||||
performance() {
|
||||
#performance() {
|
||||
#
|
||||
# echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
# /usr/bin/system76-power profile performance
|
||||
#}
|
||||
#
|
||||
#balanced() {
|
||||
#
|
||||
# echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
# /usr/bin/system76-power profile balanced
|
||||
#}
|
||||
#
|
||||
#battery() {
|
||||
#
|
||||
# echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
# /usr/bin/system76-power profile battery
|
||||
#}
|
||||
|
||||
echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
/usr/bin/system76-power profile performance
|
||||
}
|
||||
#case "$1" in
|
||||
#performance) performance ;;
|
||||
#balanced) balanced ;;
|
||||
#battery) battery ;;
|
||||
#*) echo "Please enter an action" ;;
|
||||
#esac
|
||||
|
||||
battery() {
|
||||
|
||||
echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
/usr/bin/system76-power profile battery
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
performance) performance ;;
|
||||
battery) battery ;;
|
||||
*) echo "Please enter an action" ;;
|
||||
esac
|
||||
echo '128' >/sys/class/leds/system76_acpi::kbd_backlight/brightness
|
||||
/usr/bin/system76-power profile $1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue