mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/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 walker/config.toml
|
||||||
omarchy-refresh-config elephant/calc.toml
|
omarchy-refresh-config elephant/calc.toml
|
||||||
omarchy-refresh-config elephant/desktopapplications.toml
|
omarchy-refresh-config elephant/desktopapplications.toml
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ if [[ $EUID -eq 0 ]]; then
|
|||||||
setsid walker --gapplication-service &
|
setsid walker --gapplication-service &
|
||||||
"
|
"
|
||||||
else
|
else
|
||||||
|
elephant service enable 2>/dev/null
|
||||||
systemctl --user restart elephant.service
|
systemctl --user restart elephant.service
|
||||||
setsid walker --gapplication-service &
|
setsid walker --gapplication-service &
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user