diff options
author | B. Stack <bgstack15@gmail.com> | 2024-04-30 12:43:32 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-04-30 12:43:32 -0400 |
commit | e3e5c2546ebf2aa42c809cf9305f90cf395236a6 (patch) | |
tree | 0c57dc3283dc82683135f105802073cfd286dd7d /src/usr/bin | |
parent | v0.0.4 fix want#1,#2 (diff) | |
download | stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.tar.gz stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.tar.bz2 stackrpms-acer-chromebook-e3e5c2546ebf2aa42c809cf9305f90cf395236a6.zip |
fork to acer-chromebook
Diffstat (limited to 'src/usr/bin')
-rwxr-xr-x | src/usr/bin/hwset-acer-chromebook (renamed from src/usr/bin/hwset-thinkpad-p50s) | 7 | ||||
-rwxr-xr-x | src/usr/bin/netmounts-trayicon | 4 | ||||
-rwxr-xr-x | src/usr/bin/vpn-trayicon | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/usr/bin/hwset-thinkpad-p50s b/src/usr/bin/hwset-acer-chromebook index 12e7c14..0547aa0 100755 --- a/src/usr/bin/hwset-thinkpad-p50s +++ b/src/usr/bin/hwset-acer-chromebook @@ -11,6 +11,7 @@ # 2018-12-10 change directory # 2019-12-26 adapted for Thinkpad P50s and add bright_set max/min/safe # 2022-11-03 adapted for package +# 2024-04-29 adapted for Acer Chromebook C720 # Usage: # configure your display manager to react to key combinations, like vol-up to execute: hwset vol up # Reference: ftemplate.sh 2017-11-10a; framework.sh 2017-11-10a @@ -19,7 +20,7 @@ # Dependencies: # dep-devuan: bgscripts-core fiversion="2017-11-10a" -hwsetversion="2022-11-03a" # for Thinkpad P50s +hwsetversion="2024-04-29a" # for Acer Chromebook C720 usage() { less -F >&2 <<ENDUSAGE @@ -284,9 +285,9 @@ define_if_new HWSET_SND_INCREMENT=8 define_if_new HWSET_SND_MUTE_LEVEL=0 define_if_new HWSET_SND_TEMP_FILE=/tmp/hwset/snd.level define_if_new HWSET_BRIGHTNESS_INCREMENT=85 -define_if_new HWSET_BRIGHTNESS_MAX=852 +define_if_new HWSET_BRIGHTNESS_MAX=$( cat /sys/class/backlight/intel_backlight/max_brightness ) define_if_new HWSET_BRIGHTNESS_MIN=0 -define_if_new HWSET_BRIGHTNESS_SAFE=850 +define_if_new HWSET_BRIGHTNESS_SAFE=$( cat /sys/class/backlight/intel_backlight/max_brightness ) ## REACT TO BEING A CRONJOB #if test ${is_cronjob} -eq 1; diff --git a/src/usr/bin/netmounts-trayicon b/src/usr/bin/netmounts-trayicon index 72bf020..6f0ed59 100755 --- a/src/usr/bin/netmounts-trayicon +++ b/src/usr/bin/netmounts-trayicon @@ -1,11 +1,11 @@ #!/bin/sh # File: /usr/bin/netmounts-trayicon -# Location: stackrpms-thinkpad-p50s package +# Location: stackrpms-acer-chromebook package # Author: bgstack15 # SPDX-License-Identifier: GPL-3.0 # Startdate: 2022-01-07 14:15 # Title: Net mounts Trayicon utility -# Package: stackrpms-thinkpad-p50s +# Package: stackrpms-acer-chromebook # Purpose: Provide easy mount/unmount control for network shares from system tray # History: # 2022-11-03 adapted for package diff --git a/src/usr/bin/vpn-trayicon b/src/usr/bin/vpn-trayicon index ecae2de..e5dee28 100755 --- a/src/usr/bin/vpn-trayicon +++ b/src/usr/bin/vpn-trayicon @@ -1,11 +1,11 @@ #!/bin/sh # File: /usr/bin/vpn-trayicon -# Location: stackrpms-thinkpad-p50s package +# Location: stackrpms-acer-chromebook package # Author: bgstack15 # SPDX-License-Identifier: GPL-3.0 # Startdate: 2021-12-26 21:10 # Title: Vpn Trayicon utility -# Package: stackrpms-thinkpad-p50s +# Package: stackrpms-acer-chromebook # Purpose: Provide easy vpn control from system tray # History: # 2022-11-03 adapted for package |