diff options
-rwxr-xr-x | 1337x | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | damb | 4 | ||||
-rwxr-xr-x | daskpass | 2 | ||||
-rwxr-xr-x | dbook | 2 | ||||
-rwxr-xr-x | dpass | 2 | ||||
-rwxr-xr-x | dunicode | 2 | ||||
-rwxr-xr-x | menu_run | 8 | ||||
-rwxr-xr-x | pirowatch | 2 | ||||
-rwxr-xr-x | tcsv | 2 | ||||
-rwxr-xr-x | yts | 2 |
11 files changed, 15 insertions, 15 deletions
@@ -1,7 +1,7 @@ #!/bin/sh url_1337x="https://1337x.to" -menu="wmenu" +menu="bemenu" die() { @@ -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. @@ -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") @@ -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 @@ -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=" " @@ -1,7 +1,7 @@ #!/bin/sh pass_store_dir="${PASSWORD_STORE_DIR:-$HOME/.pass}" -menu="wmenu" +menu="bemenu" note() { @@ -3,7 +3,7 @@ set -e data_dir="${XDG_DATA_HOME:-$HOME/.local/share}/unicode" icon=" " -menu="wmenu" +menu="bemenu" note() { @@ -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 } @@ -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() { @@ -1,7 +1,7 @@ #!/bin/sh url_csv="https://torrents-csv.ml" -menu="wmenu" +menu="bemenu" die() { @@ -1,7 +1,7 @@ #!/bin/sh url_yts="https://yts.mx" -menu="wmenu" +menu="bemenu" die() { |