mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add omarchy-doctor
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
# Allow the user to change the branding for fastfetch and screensaver
|
||||
mkdir -p ~/.config/omarchy/branding
|
||||
cp ~/.local/share/omarchy/icon.txt ~/.config/omarchy/branding/about.txt
|
||||
cp ~/.local/share/omarchy/logo.txt ~/.config/omarchy/branding/screensaver.txt
|
||||
OMARCHY_DESCRIPTION="Branding Config"
|
||||
|
||||
omarchy_install() {
|
||||
mkdir -p ~/.config/omarchy/branding
|
||||
cp ~/.local/share/omarchy/icon.txt ~/.config/omarchy/branding/about.txt
|
||||
cp ~/.local/share/omarchy/logo.txt ~/.config/omarchy/branding/screensaver.txt
|
||||
}
|
||||
|
||||
omarchy_verify() {
|
||||
[[ -d ~/.config/omarchy/branding ]] || add_error "Branding directory missing"
|
||||
[[ -f ~/.config/omarchy/branding/about.txt ]] || add_error "About branding file missing"
|
||||
[[ -f ~/.config/omarchy/branding/screensaver.txt ]] || add_error "Screensaver branding file missing"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user