Dotfiles/bin/.bin/launcher
Jonathan Hodgson 41082f1f06 Adds a launcher script
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.
2021-02-07 20:54:22 +00:00

13 lines
290 B
Bash
Executable file

#!/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