Hey,
I wrote a script for this purpose. I would recommend to enable dynamic
titles in ( your terminal emulator | screen | tmux ) in order to
distinguish them.
cat > dmenu_apps.sh << EOF
#!/bin/bash
wmctrl -lx | awk '{for(i=5;i<NF;i++)printf "%s",$i OFS; if (NF) printf
"%s",$NF; printf ORS}' | dmenu -name 'dmenu' -class 'dmenu' -l 20 -i -p
'Choose application:' | xargs wmctrl -a
EOF
Sample screenshot:
https://dl.dropboxusercontent.com/u/4144704/2014-05-30-154751_1920x1080_scrot.png
On Fri, May 30, 2014 at 3:00 PM, Manuel Kasser <[email protected]>
wrote:
> Ah, forgot the script I'm calling, dmenuselect:
>
> #!/bin/bash
>
> var=$(printf $1 | dmenu -i -l 50)
> echo -n $var
>
> Just a simple wrapper around dmenu.
>
>
> --
> To unsubscribe, send mail to [email protected].
>
--
Oleg Mikhailov
Linux system administrator
*Skype:* globalundo
*Website:* globalundo.com