dotfiles/bin/.bin/zoom_screen
2024-01-24 08:40:04 +01:00

10 lines
166 B
Plaintext
Executable File

current_resolution=$(xrandr | awk '/DSI1/ {print $4}')
if [[ $current_resolution == 1920x1200* ]];
then
xrandr --size 600x960
else
xrandr --size 1200x1920
fi
chwp