Move to gnu stow
This commit is contained in:
parent
cd08a447a8
commit
9ea93f8144
120 changed files with 994 additions and 53 deletions
11
misc/dot-local/bin/menu-man
Executable file
11
misc/dot-local/bin/menu-man
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
sel="$(man -k . | fuzzel --dmenu -i -p "Man page:")"
|
||||
[ "$sel" = "" ] && exit # Exit on no selection
|
||||
|
||||
# Selection comes in the form of:
|
||||
# $program ($num) - $desc
|
||||
# Need to run `man $num $program`
|
||||
page="$(echo "$sel" | awk -F'[()]' '{print $2" "$1}')"
|
||||
nohup $TERMINAL -e man $page >/dev/null 2>&1 &
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue