aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/menuman
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-09-18 13:14:55 +0300
committerYaroslav <contact@yaroslavps.com>2020-09-18 13:14:55 +0300
commitf35f43c2ce2ed7f72f3b0aa4446df706f24f1701 (patch)
tree32356040f20be67499a8bfe70db48cb760e7b9cc /dotfiles/.local/bin/menuman
parentea15e5cf8953ab6511839be797fadfc9da2c2964 (diff)
downloadswayrice-f35f43c2ce2ed7f72f3b0aa4446df706f24f1701.tar.gz
swayrice-f35f43c2ce2ed7f72f3b0aa4446df706f24f1701.zip
Switch to Alacritty terminal emulator
Updated some other configs and scripts to better interact with Alacritty. Also rely on fontconfig file, instead of specifying the font in each config (i.e. use font family 'monospace').
Diffstat (limited to 'dotfiles/.local/bin/menuman')
-rwxr-xr-xdotfiles/.local/bin/menuman4
1 files changed, 1 insertions, 3 deletions
diff --git a/dotfiles/.local/bin/menuman b/dotfiles/.local/bin/menuman
index 868d801..fe79667 100755
--- a/dotfiles/.local/bin/menuman
+++ b/dotfiles/.local/bin/menuman
@@ -9,7 +9,6 @@ else
# Source settings from .bemenurc
. ~/.config/bemenurc
- action="$TERMINAL -e"
chosen=$(printf "$list" | bemenu -p "Select man page:" -i -l 25 --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" --monitor="$BEMENU_MONITOR")
fi
@@ -17,5 +16,4 @@ if [ -z "$chosen" ]; then
exit 0
fi
-[ -n "$action" ] && $action "man $chosen" && exit 0
-man $chosen
+$TERMINAL -t "man $chosen" -e man $chosen