🔧 Adjusted dmenu scripts to have larger font size
This commit is contained in:
parent
b231be0475
commit
fee6039a62
2 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ term="st"
|
|||
|
||||
main() {
|
||||
choice=$(printf '%s\n' "${wikidocs[@]}" | \
|
||||
dmenu -l 20 -p 'Arch Wiki Docs: ') || exit 1
|
||||
dmenu -fn "12" -l 20 -p 'Arch Wiki Docs: ') || exit 1
|
||||
|
||||
if [ "$choice" ]; then
|
||||
$term -e $browser "$choice"
|
||||
|
|
@ -19,4 +19,4 @@ main() {
|
|||
fi
|
||||
}
|
||||
|
||||
main
|
||||
main
|
||||
|
|
@ -2,6 +2,6 @@
|
|||
# Opens a basic yes/no prompt with dmenu
|
||||
# This is useful for confirming whether an action should be taken
|
||||
|
||||
if [ $(printf "No\nYes" | dmenu -i -p "$1") = "Yes" ]; then
|
||||
if [ $(printf "No\nYes" | dmenu -fn "12" -i -p "$1") = "Yes" ]; then
|
||||
$2
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue