1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-26 15:06:50 +00:00
dotfiles/dot-local/bin/72

5 lines
355 B
Plaintext
Raw Normal View History

2020-10-13 20:14:57 +00:00
#!/bin/sh
2020-11-25 19:15:58 +00:00
xrandr --newmode $(cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2-)
xrandr --addmode $(xrandr --listactivemonitors | tail -n1 | cut -d' ' -f5- | awk '$1=$1') $(cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2)
xrandr --output $(xrandr --listactivemonitors | tail -n1 | cut -d' ' -f5- | awk '$1=$1') --mode $(cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2)