From 63b8d7733abcba1d95439beb0c53d850a542d7cb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 3 Jun 2024 14:57:00 -0700 Subject: [PATCH] Use single routing bin --- bin/omakub | 4 ++++ bin/omakub-font | 0 bin/omakub-help | 3 ++- bin/omakub-install | 0 bin/omakub-theme | 0 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 bin/omakub mode change 100755 => 100644 bin/omakub-font mode change 100755 => 100644 bin/omakub-help mode change 100755 => 100644 bin/omakub-install mode change 100755 => 100644 bin/omakub-theme diff --git a/bin/omakub b/bin/omakub new file mode 100755 index 0000000..0ef729d --- /dev/null +++ b/bin/omakub @@ -0,0 +1,4 @@ +#!/bin/bash + +SUB=$(gum choose "Help" "Theme" "Font" "Install" | tr '[:upper:]' '[:lower:]') +source $OMAKUB_PATH/bin/omakub-$SUB diff --git a/bin/omakub-font b/bin/omakub-font old mode 100755 new mode 100644 diff --git a/bin/omakub-help b/bin/omakub-help old mode 100755 new mode 100644 index 9684dda..002780c --- a/bin/omakub-help +++ b/bin/omakub-help @@ -1,3 +1,4 @@ #!/bin/bash -batcat ~/.local/share/omakub/help/hotkeys.md +HELP=$(gum choose "Hotkeys" "Commands" "Tactile" | tr '[:upper:]' '[:lower:]') +batcat $OMAKUB_PATH/help/$HELP.md diff --git a/bin/omakub-install b/bin/omakub-install old mode 100755 new mode 100644 diff --git a/bin/omakub-theme b/bin/omakub-theme old mode 100755 new mode 100644