mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-25 14:46:42 +00:00
5 lines
383 B
Bash
Executable file
5 lines
383 B
Bash
Executable file
#!/bin/bash
|
|
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)
|