Include Omarchy branch in About (#1231)

This commit is contained in:
David Heinemeier Hansson
2025-08-28 09:05:26 +02:00
committed by GitHub
parent 30ad634349
commit 33d6d38332
3 changed files with 12 additions and 0 deletions

3
bin/omarchy-version-branch Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo $(git -C "$OMARCHY_PATH" rev-parse --abbrev-ref HEAD)

View File

@@ -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": "│ ├",

3
migrations/1756363651.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Update About config to include the Omarchy branch name"
omarchy-refresh-fastfetch