Files
dotfiles/Scripts/.local/scripts/act_display

6 lines
150 B
Bash
Executable File

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