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,6 +1,18 @@
|
||||
# Copy over Omarchy configs
|
||||
mkdir -p ~/.config
|
||||
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
||||
OMARCHY_DESCRIPTION="Config Files"
|
||||
|
||||
# Use default bashrc from Omarchy
|
||||
cp ~/.local/share/omarchy/default/bashrc ~/.bashrc
|
||||
omarchy_install() {
|
||||
# Copy over Omarchy configs
|
||||
mkdir -p ~/.config
|
||||
cp -R ~/.local/share/omarchy/config/* ~/.config/
|
||||
|
||||
# Use default bashrc from Omarchy
|
||||
cp ~/.local/share/omarchy/default/bashrc ~/.bashrc
|
||||
}
|
||||
|
||||
omarchy_verify() {
|
||||
[[ -d ~/.config ]] || add_error "Config directory missing"
|
||||
[[ -f ~/.bashrc ]] || add_error "Bashrc file missing"
|
||||
|
||||
[[ -d ~/.config/hypr ]] || add_error "Hypr config missing"
|
||||
[[ -d ~/.config/waybar ]] || add_error "Waybar config missing"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user