2017-07-06 21:53:33 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
shopt -s nullglob globstar
|
|
|
|
|
2018-08-17 15:34:09 +02:00
|
|
|
profile=$(echo -e "$(autorandr 2>&1 | cut -d' ' -f1)" | rofi -dmenu -p "Save profile" "$@")
|
2017-07-06 21:53:33 +02:00
|
|
|
|
|
|
|
[[ -n $profile ]] || exit
|
|
|
|
|
|
|
|
autorandr --save "$profile"
|
|
|
|
|