This is called from dwm to launch a program by name. In its current state, it will launch rofi if it's available and dmenu if not.master
parent
5ae185e6c1
commit
41082f1f06
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
# This script will be called from dwm in order to launch a program |
||||||
|
# |
||||||
|
# It bascially just calls rofi of dmenu if rofi is not available |
||||||
|
|
||||||
|
if type -p rofi 2> /dev/null; then |
||||||
|
notify-send "I get here" |
||||||
|
rofi -show drun -modi drun -theme themes/launchpad.rasi |
||||||
|
else |
||||||
|
dmenu |
||||||
|
fi |
||||||
|
|
Loading…
Reference in new issue