mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-29 13:09:24 +00:00
Merge pull request #382 from tahayvr/omarchy-in-fastfetch
Display current Omarchy version in Fastfetch
This commit is contained in:
@ -47,7 +47,7 @@
|
||||
{
|
||||
"type": "swap",
|
||||
"key": "└ └ ",
|
||||
"keyColor": "green",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
@ -79,6 +79,12 @@
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
"break",
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ ├Ø",
|
||||
"keyColor": "blue",
|
||||
"text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"Omarchy $version\""
|
||||
},
|
||||
{
|
||||
"type": "de",
|
||||
"key": " DE",
|
||||
@ -97,17 +103,17 @@
|
||||
{
|
||||
"type": "icons",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
@ -138,7 +144,6 @@
|
||||
"type": "custom",
|
||||
"format": "\u001b[90m└────────────────────────────────────────────────────┘"
|
||||
},
|
||||
"break",
|
||||
"break"
|
||||
]
|
||||
}
|
||||
|
||||
|
4
migrations/1753683888.sh
Normal file
4
migrations/1753683888.sh
Normal file
@ -0,0 +1,4 @@
|
||||
echo "Adding Omarchy version info to fastfetch"
|
||||
if [ -d ~/.config/fastfetch ]; then
|
||||
cp ~/.local/share/omarchy/config/fastfetch/config.jsonc ~/.config/fastfetch/
|
||||
fi
|
Reference in New Issue
Block a user