mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
21 lines
709 B
Bash
Executable File
21 lines
709 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Overwrite the user configs for the Walker application launcher (which also powers the Omarchy Menu) and restart the services.
|
|
|
|
mkdir -p ~/.config/autostart/
|
|
cp $OMARCHY_PATH/default/walker/walker.desktop ~/.config/autostart/
|
|
|
|
# And restarts if it crashes or is killed
|
|
mkdir -p ~/.config/systemd/user/app-walker@autostart.service.d/
|
|
cp $OMARCHY_PATH/default/walker/restart.conf ~/.config/systemd/user/app-walker@autostart.service.d/restart.conf
|
|
|
|
systemctl --user daemon-reload
|
|
|
|
# Refresh configs
|
|
omarchy-refresh-config walker/config.toml
|
|
omarchy-refresh-config elephant/calc.toml
|
|
omarchy-refresh-config elephant/desktopapplications.toml
|
|
|
|
# Restart service
|
|
omarchy-restart-walker
|