blob: b3da2a0f4e90fab5fd218ebccc13e31ef286bf9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
# Source settings from .bemenurc
. ~/.config/bemenurc
title="Run:"
action=""
case $1 in
-x)
action="xway"
title="Run through xwayland:";;
-t)
action="$TERMINAL -e"
title="Run in terminal:";;
esac
action="$action $(compgen -c | sort -u | bemenu -p "$title" --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB")"
$action
|