mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add mirror + pkgs channel to About menu
This commit is contained in:
9
bin/omarchy-version-mirror
Executable file
9
bin/omarchy-version-mirror
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if grep -q "https://stable-mirror.omarchy.org/" /etc/pacman.d/mirrorlist; then
|
||||
echo "stable"
|
||||
elif grep -q "https://mirror.omarchy.org/" /etc/pacman.d/mirrorlist; then
|
||||
echo "edge"
|
||||
else
|
||||
echo "unknown"
|
||||
fi
|
||||
9
bin/omarchy-version-pkgs
Executable file
9
bin/omarchy-version-pkgs
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if grep -q "https://pkgs.omarchy.org/stable/" /etc/pacman.conf; then
|
||||
echo "stable"
|
||||
elif grep -q "https://pkgs.omarchy.org/edge/" /etc/pacman.conf; then
|
||||
echo "edge"
|
||||
else
|
||||
echo "unknown"
|
||||
fi
|
||||
@@ -74,6 +74,18 @@
|
||||
"keyColor": "blue",
|
||||
"text": "branch=$(omarchy-version-branch); echo \"$branch\""
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
"text": "mirror=$(omarchy-version-mirror); echo \"$mirror\""
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue",
|
||||
"text": "pkgs=$(omarchy-version-pkgs); echo \"$pkgs\""
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": "│ ├",
|
||||
|
||||
3
migrations/1763753641.sh
Normal file
3
migrations/1763753641.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
echo "Include pacman mirror and OPR upstreams (edge vs stable) in About"
|
||||
|
||||
omarchy-refresh-fastfetch
|
||||
Reference in New Issue
Block a user