mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
18 lines
536 B
Bash
Executable File
18 lines
536 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Overwrite the user config for the Limine bootloader and rebuild it.
|
|
# omarchy:requires-sudo=true
|
|
|
|
if [[ -f /boot/EFI/Linux/omarchy_linux.efi ]] && [[ -f /boot/EFI/Linux/$(cat /etc/machine-id)_linux.efi ]]; then
|
|
echo "Cleanup extra UKI"
|
|
sudo rm -f /boot/EFI/Linux/$(cat /etc/machine-id)_linux.efi
|
|
fi
|
|
echo "Resetting limine config"
|
|
|
|
sudo mv /boot/limine.conf /boot/limine.conf.bak
|
|
|
|
sudo cp ~/.local/share/omarchy/default/limine/limine.conf /boot/limine.conf
|
|
|
|
sudo limine-update
|
|
sudo limine-snapper-sync
|