Nicer headers
This commit is contained in:
parent
7e6b8b9633
commit
c5a4b8182a
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user