Make act_display present arguments in dmenu prompt

This commit is contained in:
2025-10-23 02:53:00 +01:00
parent a7f95c1ce2
commit 56afe2e109

View File

@@ -1,5 +1,5 @@
#!/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 $@