Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions bin/omarchy-install-terminal
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ if (($# == 0)); then
fi

package="$1"
extra_packages=""

# Map package name to desktop entry ID
case "$package" in
alacritty) desktop_id="Alacritty.desktop" ;;
ghostty) desktop_id="com.mitchellh.ghostty.desktop" ;;
ghostty)
desktop_id="com.mitchellh.ghostty.desktop"
extra_packages="ghostty-nautilus"
;;
kitty) desktop_id="kitty.desktop" ;;
*)
echo "Unknown terminal: $package"
Expand All @@ -21,7 +25,7 @@ kitty) desktop_id="kitty.desktop" ;;
esac

# Install package
if omarchy-pkg-add $package; then
if omarchy-pkg-add $package $extra_packages; then
# Copy custom desktop entry for alacritty with X-TerminalArg* keys
if [[ $package == "alacritty" ]]; then
mkdir -p ~/.local/share/applications
Expand Down
5 changes: 5 additions & 0 deletions migrations/1776428579.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "Install ghostty-nautilus for Ghostty users"

if omarchy-pkg-present ghostty; then
omarchy-pkg-add ghostty-nautilus
fi
Loading