Add support for HW brightness control on desktop
parent
fb134bbf39
commit
413c12c378
|
@ -1,4 +1,6 @@
|
||||||
|
gddccontrol
|
||||||
hamster-time-tracker
|
hamster-time-tracker
|
||||||
musescore
|
musescore
|
||||||
realtime-privileges
|
realtime-privileges
|
||||||
zita-ajbridge
|
zita-ajbridge
|
||||||
|
zenity
|
|
@ -30,6 +30,7 @@ polybar
|
||||||
powerline-fonts
|
powerline-fonts
|
||||||
python-pip
|
python-pip
|
||||||
python-pygments
|
python-pygments
|
||||||
|
python-pyperclip
|
||||||
python-requests
|
python-requests
|
||||||
redshift
|
redshift
|
||||||
rofi
|
rofi
|
||||||
|
|
|
@ -48,6 +48,8 @@ exec --no-startup-id amixer -D hw:PCH -M sset Headphone 100%
|
||||||
# BINDINGS FOR STARTING PROGRAMS
|
# BINDINGS FOR STARTING PROGRAMS
|
||||||
##################################
|
##################################
|
||||||
|
|
||||||
|
bindsym $mod+b exec --no-startup-id ~/.config/i3/scripts/brightness.sh
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# BINDINGS FOR STANDARD OPERATIONS
|
# BINDINGS FOR STANDARD OPERATIONS
|
||||||
##################################
|
##################################
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MONITORS='0 9'
|
||||||
|
BRIGHT=`zenity --entry --width 40 --text="Brightness:"`
|
||||||
|
|
||||||
|
for m in ${MONITORS}; do
|
||||||
|
ddccontrol dev:/dev/i2c-${m} -r 0x10 -w ${BRIGHT}
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue