diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2015-11-25 18:46:48 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2015-11-27 02:32:50 +0100 |
| commit | 2a9bfb8a3c90031cea661b1de69caca885b21530 (patch) | |
| tree | bf9d8b70bd193be4a05f63ee8eb8d45d600eba15 /scripts/program_starter.sh | |
| parent | ee5e080348552cc4696b3659039c9617eaca3cdd (diff) | |
| download | dotfiles-2a9bfb8a3c90031cea661b1de69caca885b21530.tar.gz dotfiles-2a9bfb8a3c90031cea661b1de69caca885b21530.zip | |
improve starter scripts
1) program starter print error if rofi and dmenu aren't available
2) ssh starter also is usable with dmenu
Diffstat (limited to 'scripts/program_starter.sh')
| -rw-r--r-- | scripts/program_starter.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/program_starter.sh b/scripts/program_starter.sh index fa4f79a..afe2e6c 100644 --- a/scripts/program_starter.sh +++ b/scripts/program_starter.sh @@ -3,6 +3,9 @@ if type rofi &>/dev/null then exec rofi -show run -else +elif type dmenu_run &>/dev/null +then exec dmenu_run +else + i3-nagbar -m "please install rofi or dmenu to start a program" &>/dev/null fi |
