Fix it
This commit is contained in:
parent
cebe457134
commit
8c88a4cea6
|
@ -90,3 +90,5 @@ echo "firefox &" >> $HOME/.dwm/autostart.sh
|
||||||
echo "telegram-desktop &" >> $HOME/.dwm/autostart.sh
|
echo "telegram-desktop &" >> $HOME/.dwm/autostart.sh
|
||||||
echo "st &" >> $HOME/.dwm/autostart.sh
|
echo "st &" >> $HOME/.dwm/autostart.sh
|
||||||
chmod +x $HOME/.dwm/autostart.sh
|
chmod +x $HOME/.dwm/autostart.sh
|
||||||
|
|
||||||
|
sudo timedatectl set-timezone Europe/Moscow
|
||||||
|
|
|
@ -8,10 +8,10 @@ if (( $H >= 0 && $H <= 7 )); then
|
||||||
elif (( $H > 7 && $H <= 10 )); then
|
elif (( $H > 7 && $H <= 10 )); then
|
||||||
/usr/bin/xrandr --output eDP --brightness .5
|
/usr/bin/xrandr --output eDP --brightness .5
|
||||||
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 1
|
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 1
|
||||||
elif (( $H > 10 && $H <= 19 )); then
|
elif (( $H > 10 && $H < 17 )); then
|
||||||
/usr/bin/xrandr --output eDP --brightness .7
|
/usr/bin/xrandr --output eDP --brightness .7
|
||||||
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 0
|
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 0
|
||||||
elif (( $H > 19 && $H <= 22 )); then
|
elif (( $H >= 17 && $H <= 22 )); then
|
||||||
/usr/bin/xrandr --output eDP --brightness .5
|
/usr/bin/xrandr --output eDP --brightness .5
|
||||||
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 1
|
sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 1
|
||||||
elif (( $H > 22 && $H <= 23 )); then
|
elif (( $H > 22 && $H <= 23 )); then
|
||||||
|
|
Loading…
Reference in New Issue