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
|
||||
Reference in New Issue
Block a user