Nicer headers

This commit is contained in:
David Heinemeier Hansson 2024-06-03 20:14:31 -07:00
parent 7e6b8b9633
commit c5a4b8182a
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
set -e
# Pick a preconfigured theme
FONT=$(gum choose "Cascadia Mono" "Fira Mono" "JetBrains Mono" "Meslo" | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
FONT=$(gum choose "Cascadia Mono" "Fira Mono" "JetBrains Mono" "Meslo" --header "Choose your programming font:" --height 6 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
[ ! -n "$FONT" ] && exit 0

View File

@ -1,4 +1,4 @@
#!/bin/bash
HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --height 5 | tr '[:upper:]' '[:lower:]')
HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --header "What do you need help with?" --height 5 | tr '[:upper:]' '[:lower:]')
[ -n "$HELP" ] && gum pager <$OMAKUB_PATH/help/$HELP.md

View File

@ -2,7 +2,7 @@
set -e
# Pick a preconfigured theme
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" "Rose Pine" --height 6 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
THEME=$(gum choose "Tokyo Night" "Gruvbox" "Catppuccin" "Rose Pine" --header "Choose your theme" --height 6 | tr '[:upper:]' '[:lower:]' | sed 's/ /-/g')
[ ! -n "$THEME" ] && exit 0