1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-09-20 00:49:15 +00:00
dotfiles/.config/fish/functions/72.fish

6 lines
383 B
Fish
Raw Normal View History

2020-01-26 18:38:03 +00:00
function 72
xrandr --newmode (cvt 1920 1080 72 | tail -n1 | cut -d' ' -f2- | tr ' ' \n | awk '$1=$1')
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)
end