2017-07-06 21:53:33 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
shopt -s nullglob globstar
|
|
|
|
|
2020-01-06 16:23:50 +01:00
|
|
|
profile=$(echo -e "common\nclone-largest\nhorizontal\nvertical\n$(autorandr 2>&1 | cut -d' ' -f1)" | rofi -dmenu -p "Load profile" "$@")
|
2017-07-06 21:53:33 +02:00
|
|
|
|
|
|
|
[[ -n $profile ]] || exit
|
|
|
|
|
|
|
|
autorandr --load "$profile"
|
|
|
|
|