diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/.bin/lay | 2 | ||||
-rwxr-xr-x | bin/.bin/light | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/.bin/lay b/bin/.bin/lay index 530402a..da5fe35 100755 --- a/bin/.bin/lay +++ b/bin/.bin/lay | |||
@@ -1,2 +1,2 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1366x768 --scale 1.25x1.25 --pos 1920x0 --rotate normal --output DisplayPort-0 --off | 2 | xrandr --output eDP --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-A-0 --mode 1366x768 --scale 1.30x1.30 --pos 1920x0 --rotate normal --output DisplayPort-0 --off |
diff --git a/bin/.bin/light b/bin/.bin/light index bba7e82..d44b241 100755 --- a/bin/.bin/light +++ b/bin/.bin/light | |||
@@ -4,12 +4,12 @@ | |||
4 | case "$1" in | 4 | case "$1" in |
5 | u*) | 5 | u*) |
6 | for f in /sys/class/backlight/*; do | 6 | for f in /sys/class/backlight/*; do |
7 | echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; | 7 | echo $(($(<$f/brightness)+2*$(<$f/max_brightness)/100)) > $f/brightness; |
8 | done | 8 | done |
9 | ;; | 9 | ;; |
10 | d*) | 10 | d*) |
11 | for f in /sys/class/backlight/*; do | 11 | for f in /sys/class/backlight/*; do |
12 | echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; | 12 | echo $(($(<$f/brightness)-2*$(<$f/max_brightness)/100)) > $f/brightness; |
13 | done | 13 | done |
14 | ;; | 14 | ;; |
15 | *) | 15 | *) |