Make act_display present arguments in dmenu prompt
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
choice=$(xrandr | grep " connected" | sed "s/ .*//" | dmenu -i -p "Display:")
|
choice=$(xrandr | grep " connected" | sed "s/ .*//" | dmenu -i -p "Display ($@):")
|
||||||
|
|
||||||
[ ! -z $choice ] && xrandr --output $choice $@
|
[ ! -z $choice ] && xrandr --output $choice $@
|
||||||
|
|||||||
Reference in New Issue
Block a user