Files
Nomarchy/bin/nomarchy-refresh-walker
Bernardo Magri 33deeb494b initial commit
2026-04-01 17:06:01 +01:00

22 lines
734 B
Bash
Executable File

#!/bin/bash
# Overwrite the user configs for the Walker application launcher (which also powers the Nomarchy Menu) and restart the services.
# Ensure walker is set to autostart
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
nomarchy-refresh-config walker/config.toml
nomarchy-refresh-config elephant/calc.toml
nomarchy-refresh-config elephant/desktopapplications.toml
# Restart service
nomarchy-restart-walker