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