From ca82b3dea5d4bf35dae6c560370510289e3ce079 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sun, 6 Dec 2020 17:22:10 +0530 Subject: fix light --- bin/.bin/lay | 2 +- 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 @@ #!/bin/sh -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 +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 @@ case "$1" in u*) for f in /sys/class/backlight/*; do - echo $(($(<$f/brightness)+5*$(<$f/max_brightness)/100)) > $f/brightness; + echo $(($(<$f/brightness)+2*$(<$f/max_brightness)/100)) > $f/brightness; done ;; d*) for f in /sys/class/backlight/*; do - echo $(($(<$f/brightness)-5*$(<$f/max_brightness)/100)) > $f/brightness; + echo $(($(<$f/brightness)-2*$(<$f/max_brightness)/100)) > $f/brightness; done ;; *) -- cgit v1.2.3