dotfiles/.config/wm_scripts/manpages.sh
2021-05-23 14:30:50 +08:00

9 lines
140 B
Bash
Executable File

#!/bin/sh
#
# Views manpages as pdf.
#
name=$(man -k . | rofi -dmenu | awk '{print($1)}')
[[ ! -z $name ]] && man -Tpdf $name | zathura -