dotfiles/bin/.bin/zoom_screen

10 lines
166 B
Plaintext
Raw Normal View History

2024-01-24 08:40:04 +01:00
current_resolution=$(xrandr | awk '/DSI1/ {print $4}')
if [[ $current_resolution == 1920x1200* ]];
then
xrandr --size 600x960
else
xrandr --size 1200x1920
fi
chwp