aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x1337x2
-rw-r--r--README.md2
-rwxr-xr-xdamb4
-rwxr-xr-xdaskpass2
-rwxr-xr-xdbook2
-rwxr-xr-xdpass2
-rwxr-xr-xdunicode2
-rwxr-xr-xmenu_run8
-rwxr-xr-xpirowatch2
-rwxr-xr-xtcsv2
-rwxr-xr-xyts2
11 files changed, 15 insertions, 15 deletions
diff --git a/1337x b/1337x
index c988144..6f3d8a3 100755
--- a/1337x
+++ b/1337x
@@ -1,7 +1,7 @@
#!/bin/sh
url_1337x="https://1337x.to"
-menu="wmenu"
+menu="bemenu"
die()
{
diff --git a/README.md b/README.md
index 6eb9896..3f16215 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
[dmenu](https://tools.suckless.org/dmenu/) is a fast and lightweight dynamic menu for X written by the
[suckless](https://suckless.org/) community. this is my collection of posix scripts for dmenu like
programs. these scipts were initially made for dmenu with xorg in mind, now
-they work on both xorg and wayland using dmenu and wmenu respectively. these
+they work on both xorg and wayland using dmenu and bemenu respectively. these
scripts might use font awesome, make sure you've installed them for the best
experience. you can find more info about them below.
diff --git a/damb b/damb
index b97d0bb..53d0cad 100755
--- a/damb
+++ b/damb
@@ -5,7 +5,7 @@ damb_data="${XDG_DATA_HOME:-$HOME/.local/share}/damb"
damb_pids="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/damb.pids"
damb_dlim="|"
-w_menu="wmenu"
+w_menu="bemenu"
x_menu="dmenu"
ico_damb="󰎆 "
@@ -249,7 +249,7 @@ gen_opts()
gen_menu()
{
[ -s "$damb_conf" ] || die "empty, try damb save"
- key="$(gen_opts | wmenu -l 25)" || return 1
+ key="$(gen_opts | bemenu -l 25)" || return 1
case "$key" in
*"stop the ambiances")
diff --git a/daskpass b/daskpass
index 948e0c3..6860983 100755
--- a/daskpass
+++ b/daskpass
@@ -6,5 +6,5 @@ if [ -z "$WAYLAND_DISPLAY" ]
then
printf "" | dmenu -P -p "$1"
else
- printf "" | wmenu -P -p "$1"
+ printf "" | bemenu -x -p "$1"
fi
diff --git a/dbook b/dbook
index e5b27de..94523da 100755
--- a/dbook
+++ b/dbook
@@ -2,7 +2,7 @@
book_conf="${XDG_CONFIG_HOME:-$HOME/.config}/dbook/dbook.conf"
book_data="${XDG_DATA_HOME:-$HOME/.local/share}/dbook"
-w_menu="wmenu"
+w_menu="bemenu"
x_menu="dmenu"
ico_dbk=" "
ico_url="󰖟 "
diff --git a/dpass b/dpass
index 69c4673..670f398 100755
--- a/dpass
+++ b/dpass
@@ -1,7 +1,7 @@
#!/bin/sh
pass_store_dir="${PASSWORD_STORE_DIR:-$HOME/.pass}"
-menu="wmenu"
+menu="bemenu"
note()
{
diff --git a/dunicode b/dunicode
index ad1915b..8f1a746 100755
--- a/dunicode
+++ b/dunicode
@@ -3,7 +3,7 @@ set -e
data_dir="${XDG_DATA_HOME:-$HOME/.local/share}/unicode"
icon="󰞅 "
-menu="wmenu"
+menu="bemenu"
note()
{
diff --git a/menu_run b/menu_run
index 0d5a0c9..16e4453 100755
--- a/menu_run
+++ b/menu_run
@@ -1,8 +1,8 @@
#!/bin/sh
-menu="wmenu"
+menu="bemenu"
cache_dir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
-cache="$cache_dir/wmenu_run"
+cache="$cache_dir/bemenu_run"
uptodate()
{
@@ -38,9 +38,9 @@ main()
if [ -f "$cache" ] && uptodate
then
- "$menu" "$@" < "$cache" | ${SHELL:-"/bin/sh"} &
+ "$menu" -p ' ' "$@" < "$cache" | ${SHELL:-"/bin/sh"} &
else
- get_bin | sort -u | tee "$cache" | "$menu" "$@" | ${SHELL:-"/bin/sh"} &
+ get_bin | sort -u | tee "$cache" | "$menu" -p ' ' "$@" | ${SHELL:-"/bin/sh"} &
fi
}
diff --git a/pirowatch b/pirowatch
index 512667c..acaab24 100755
--- a/pirowatch
+++ b/pirowatch
@@ -6,7 +6,7 @@ cache_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/pirowatch"
torrent_dir="${DOWNLOADS:-$HOME/Downloads}"
torrent_port=49110
dht_port=49130
-menu="wmenu"
+menu="bemenu"
note()
{
diff --git a/tcsv b/tcsv
index 96666eb..f718165 100755
--- a/tcsv
+++ b/tcsv
@@ -1,7 +1,7 @@
#!/bin/sh
url_csv="https://torrents-csv.ml"
-menu="wmenu"
+menu="bemenu"
die()
{
diff --git a/yts b/yts
index 8df1542..1d29306 100755
--- a/yts
+++ b/yts
@@ -1,7 +1,7 @@
#!/bin/sh
url_yts="https://yts.mx"
-menu="wmenu"
+menu="bemenu"
die()
{