mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
22 lines
589 B
Bash
22 lines
589 B
Bash
#!/bin/bash
|
|
|
|
# Create pacman hook to restart walker after updates
|
|
sudo mkdir -p /etc/pacman.d/hooks
|
|
sudo tee /etc/pacman.d/hooks/walker-restart.hook > /dev/null << EOF
|
|
[Trigger]
|
|
Type = Package
|
|
Operation = Upgrade
|
|
Target = walker
|
|
Target = walker-debug
|
|
Target = elephant*
|
|
|
|
[Action]
|
|
Description = Restarting Walker services after system update
|
|
When = PostTransaction
|
|
Exec = $OMARCHY_PATH/bin/omarchy-restart-walker
|
|
EOF
|
|
|
|
# Link the visual theme menu config
|
|
mkdir -p ~/.config/elephant/menus
|
|
ln -snf $OMARCHY_PATH/default/elephant/omarchy_themes.lua ~/.config/elephant/menus/omarchy_themes.lua
|