diff --git a/bin/omarchy-version-branch b/bin/omarchy-version-branch new file mode 100755 index 0000000..43281d9 --- /dev/null +++ b/bin/omarchy-version-branch @@ -0,0 +1,3 @@ +#!/bin/bash + +echo $(git -C "$OMARCHY_PATH" rev-parse --abbrev-ref HEAD) diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index 316f441..b2cad35 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -68,6 +68,12 @@ "keyColor": "blue", "text": "version=$(omarchy-version); echo \"Omarchy $version\"" }, + { + "type": "command", + "key": "│ ├󰘬", + "keyColor": "blue", + "text": "branch=$(omarchy-version-branch); echo \"$branch\"" + }, { "type": "kernel", "key": "│ ├", diff --git a/migrations/1756363651.sh b/migrations/1756363651.sh new file mode 100644 index 0000000..3df0985 --- /dev/null +++ b/migrations/1756363651.sh @@ -0,0 +1,3 @@ +echo "Update About config to include the Omarchy branch name" + +omarchy-refresh-fastfetch