dotfiles/config/i3/autorandrremovemenu
Geoffrey Frogeye 694e8bffe3 New way of handling screens
Still not handled in workspace affectation though.
2017-07-06 21:53:33 +02:00

11 lines
213 B
Bash
Executable file

#!/usr/bin/env bash
shopt -s nullglob globstar
profile=$(echo -e "$(autorandr 2>&1 | cut -d' ' -f1)" | ~/.config/i3/dmenu_cmd -p "Remove profile" "$@")
[[ -n $profile ]] || exit
autorandr --remove "$profile"