Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- output=$(xrandr | grep -o '.* connected' | awk '{print $1}')
- xrandr --listModes | grep 'SR-1_' | awk '{print $2}' | while read -r mode; do
- xrandr --delmode "$output" "$mode"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement