diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-01-18 11:44:26 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-01-18 11:44:26 +0100 |
| commit | 83954961af8b6337da100e038561f2fd975ac1fe (patch) | |
| tree | 33a45dbf91cc4c0b8975287b9537db8aa272505f /brightness | |
| parent | afd02bfcce54e3252d356f34c25a155c855f3612 (diff) | |
| download | chadscripts-83954961af8b6337da100e038561f2fd975ac1fe.tar.gz chadscripts-83954961af8b6337da100e038561f2fd975ac1fe.tar.bz2 chadscripts-83954961af8b6337da100e038561f2fd975ac1fe.zip | |
Diffstat (limited to 'brightness')
| -rwxr-xr-x | brightness | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ #!/bin/sh -monitor="eDP-1" - -xrandr --output $monitor --brightness "$1" +case "$1" in + up) sudo brightnessctl s "10%+" ;; + down) sudo brightnessctl s "10%-" ;; +esac |
