From 69ec570aadb93cb1537c7037b726590c42ddb5a4 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 16 Sep 2025 22:33:40 +0200 Subject: [PATCH] Make sure binding starts $TERMINAL --- migrations/1758019332.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/migrations/1758019332.sh b/migrations/1758019332.sh index ee539d89..003acd56 100644 --- a/migrations/1758019332.sh +++ b/migrations/1758019332.sh @@ -14,3 +14,8 @@ fi if grep -q "bindd = SUPER, N, Neovim" ~/.config/hypr/bindings.conf; then sed -i '/SUPER, N, Neovim, exec/ c\bindd = SUPER, N, Editor, exec, omarchy-launch-editor' ~/.config/hypr/bindings.conf fi + +# Use default terminal for keybinding +if grep -q "terminal = uwsm app" ~/.config/hypr/bindings.conf; then + sed -i '/terminal = uwsm app -- alacritty/ c\$terminal = uwsm app -- $TERMINAL' ~/.config/hypr/bindings.conf +fi