Files
dotfiles/Scripts/.local/scripts/act_display

6 lines
145 B
Bash
Executable File

#!/usr/bin/env sh
choice=$(xrandr | grep " connected" | sed "s/ .*//" | dmenu -i -p "Display:")
[ ! -z $choice ] && xrandr --output $choice $@