mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Include Omarchy branch in About (#1231)
This commit is contained in:
committed by
GitHub
parent
30ad634349
commit
33d6d38332
3
bin/omarchy-version-branch
Executable file
3
bin/omarchy-version-branch
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo $(git -C "$OMARCHY_PATH" rev-parse --abbrev-ref HEAD)
|
||||||
@@ -68,6 +68,12 @@
|
|||||||
"keyColor": "blue",
|
"keyColor": "blue",
|
||||||
"text": "version=$(omarchy-version); echo \"Omarchy $version\""
|
"text": "version=$(omarchy-version); echo \"Omarchy $version\""
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"key": "│ ├",
|
||||||
|
"keyColor": "blue",
|
||||||
|
"text": "branch=$(omarchy-version-branch); echo \"$branch\""
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "kernel",
|
"type": "kernel",
|
||||||
"key": "│ ├",
|
"key": "│ ├",
|
||||||
|
|||||||
3
migrations/1756363651.sh
Normal file
3
migrations/1756363651.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Update About config to include the Omarchy branch name"
|
||||||
|
|
||||||
|
omarchy-refresh-fastfetch
|
||||||
Reference in New Issue
Block a user