Port a few more options to zenity and separate dwm from the install script

This commit is contained in:
2024-08-05 20:11:02 +01:00
parent 2c29f8e070
commit 607a3ca24a
232 changed files with 124 additions and 224 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
prompt="-p Manual:"
# terminal to open manual
terminal="st"
# list all manuals
manual="$(man -k . | dmenu $prompt | awk '{print $1}')"
# open selected manual with terminal
if [[ ! -z "$manual" ]]; then
eval "$($terminal -e man $manual)"
fi
exit 0