Files
omarchy/bin/omarchy-install-terminal
David Heinemeier Hansson fc4cf86487 We can no longer just relaunch hyprland
So restart it is
2025-10-18 20:08:42 +02:00

20 lines
457 B
Bash
Executable File

#!/bin/bash
if (($# == 0)); then
echo "Usage: omarchy-install-terminal [alacritty|ghostty|kitty]"
exit 1
fi
package="$1"
# Install package
omarchy-pkg-add $package
# Set as default terminal
echo "Setting $package as new default terminal..."
sed -i "/export TERMINAL=/ c\export TERMINAL=$package" ~/.config/uwsm/default
# Restart is needed for new default to take effect
echo
gum confirm "Restart to use new terminal?" && systemctl reboot --no-wall