aboutsummaryrefslogtreecommitdiff
path: root/river/bemenu_helper
diff options
context:
space:
mode:
Diffstat (limited to 'river/bemenu_helper')
-rwxr-xr-xriver/bemenu_helper24
1 files changed, 24 insertions, 0 deletions
diff --git a/river/bemenu_helper b/river/bemenu_helper
new file mode 100755
index 0000000..f6b3134
--- /dev/null
+++ b/river/bemenu_helper
@@ -0,0 +1,24 @@
+#!/bin/sh
+set -e
+XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
+conf="$XDG_CONFIG_HOME/river/theme_conf"
+. "$conf"
+. "$XDG_CONFIG_HOME"/river/_bemenu_"$mode".sh
+export BEMENU_OPTS=\
+--fn\ \''IBM 3270 12'\'\ \
+--tb\ "$background"\ \
+--tf\ "$foreground"\ \
+--fb\ "$background"\ \
+--ff\ "$bright2"\ \
+--cb\ "$background"\ \
+--cf\ "$foreground"\ \
+--nb\ "$background"\ \
+--nf\ "$foreground"\ \
+--hb\ "$background"\ \
+--hf\ "$bright3"\ \
+--sb\ "$foreground"\ \
+--sf\ "$background"\ \
+--ab\ "$dark_background"\ \
+--af\ "$regular7"
+
+exec "$@"