dotfiles/config/i3/autorandrloadmenu
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
239 B
Bash
Executable file

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