Initial Commit

This commit is contained in:
Salim Zaidi 2023-06-20 17:45:22 +01:00
parent f18da1cc25
commit a5bc6b13c5
96 changed files with 6936 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#!/bin/bash
# This script handles brightness control using the brightnessctl utility.
# Configuration:
# - Use the 'brightnessctl -l' command to identify the backlight control directory specific to your system.
# - Update the 'intel_backlight' part in the decrease_brightness() and increase_brightness() functions with your specific backlight control directory.
function decrease_brightness() {
brightnessctl -d intel_backlight set 10%-
}
function increase_brightness() {
brightnessctl -d intel_backlight set 10%+
}
case "$1" in
XF86MonBrightnessDown)
decrease_brightness
;;
XF86MonBrightnessUp)
increase_brightness
;;
esac