app-launcher to just launcher
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
echo "Remove Walker app-launcher services and Elephant providers"
|
||||
echo "Remove Walker launcher services and Elephant providers"
|
||||
|
||||
pkill elephant 2>/dev/null || true
|
||||
systemctl --user disable --now elephant.service 2>/dev/null || true
|
||||
@@ -10,7 +10,7 @@ sudo rm -f /etc/pacman.d/hooks/walker-restart.hook
|
||||
|
||||
for bindings_file in ~/.config/hypr/bindings/utilities.lua ~/.config/hypr/bindings.lua; do
|
||||
if [[ -f $bindings_file ]]; then
|
||||
sed -i 's#omarchy-launch-walker#omarchy-shell shell toggle omarchy.app-launcher \\"{}\\"#g' "$bindings_file"
|
||||
sed -i 's#omarchy-launch-walker#omarchy-shell shell toggle omarchy.launcher \\"{}\\"#g' "$bindings_file"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
echo "Rename app launcher shell plugin to launcher"
|
||||
|
||||
config_files=(
|
||||
"$HOME/.config/hypr/bindings/utilities.lua"
|
||||
"$HOME/.config/hypr/bindings.lua"
|
||||
"$HOME/.config/hypr/apps/omarchy-shell.lua"
|
||||
"$HOME/.config/omarchy/omarchy-menu.jsonc"
|
||||
"$HOME/.config/omarchy/current/theme/shell.toml"
|
||||
)
|
||||
|
||||
for config_file in "${config_files[@]}"; do
|
||||
if [[ -f $config_file ]]; then
|
||||
sed -i \
|
||||
-e 's/omarchy\.app-launcher/omarchy.launcher/g' \
|
||||
-e 's/omarchy-app-launcher/omarchy-launcher/g' \
|
||||
-e 's/\[app-launcher\]/[launcher]/g' \
|
||||
-e 's/app-launcher\./launcher./g' \
|
||||
"$config_file"
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user