11 lines
202 B
Bash
Executable file
11 lines
202 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
shopt -s nullglob globstar
|
|
|
|
profile=$(echo -e "$(autorandr 2>&1 | cut -d' ' -f1)" | rofi -dmenu -p "Remove profile" "$@")
|
|
|
|
[[ -n $profile ]] || exit
|
|
|
|
autorandr --remove "$profile"
|
|
|