You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
286 B
19 lines
286 B
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
MENU="wofi"
|
||
|
case $1 in
|
||
|
"dmenu")
|
||
|
exec $MENU -S run -p "" # Use run to replicate dmenu_run beahviour
|
||
|
;;
|
||
|
"apps")
|
||
|
exec $MENU -S drun -I -p "Search applications"
|
||
|
;;
|
||
|
|
||
|
"pass")
|
||
|
exec $MENU -d -P -L 1 -W 400 2>/dev/null
|
||
|
;;
|
||
|
*)
|
||
|
echo "Error option not valid"
|
||
|
;;
|
||
|
esac
|