diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 4926aa9..c0f33ed 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -90,3 +90,5 @@ echo "firefox &" >> $HOME/.dwm/autostart.sh echo "telegram-desktop &" >> $HOME/.dwm/autostart.sh echo "st &" >> $HOME/.dwm/autostart.sh chmod +x $HOME/.dwm/autostart.sh + +sudo timedatectl set-timezone Europe/Moscow diff --git a/set_brightness.sh b/set_brightness.sh index 15a9646..b70305d 100755 --- a/set_brightness.sh +++ b/set_brightness.sh @@ -8,10 +8,10 @@ if (( $H >= 0 && $H <= 7 )); then elif (( $H > 7 && $H <= 10 )); then /usr/bin/xrandr --output eDP --brightness .5 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 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 sudo /usr/bin/brightnessctl --device='asus::kbd_backlight' set 1 elif (( $H > 22 && $H <= 23 )); then