Ensure walker is set to autostart and that elephant is running as a service after running omarchy-refresh-walker

Closes #3609
This commit is contained in:
David Heinemeier Hansson
2025-11-25 11:37:48 +01:00
parent 97382274f6
commit a522a47f70
2 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/bash
# Ensure walker is set to autostart
mkdir -p ~/.config/autostart/
cp $OMARCHY_PATH/autostart/walker.desktop ~/.config/autostart/
omarchy-refresh-config walker/config.toml
omarchy-refresh-config elephant/calc.toml
omarchy-refresh-config elephant/desktopapplications.toml

View File

@@ -16,6 +16,7 @@ if [[ $EUID -eq 0 ]]; then
setsid walker --gapplication-service &
"
else
elephant service enable 2>/dev/null
systemctl --user restart elephant.service
setsid walker --gapplication-service &
fi