Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.6
hooks:
- id: actionlint-system
- id: actionlint

- repo: https://github.com/woodruffw/zizmor
rev: v0.5.0
rev: v0.8.0
hooks:
- id: zizmor
files: ^\.github/workflows/.*\.ya?ml$
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ export TERM=xterm-256color
export GHOSTTY_RESOURCES_DIR="${HERE}/usr/share/ghostty"

exec "${HERE}"/ld-linux-x86-64.so.2 --library-path "${HERE}"/usr/lib "${HERE}"/usr/bin/ghostty "$@"

if [ "$?" -gt 0 ] && [ -n "$WAYLAND_DISPLAY" ]; then
export GDK_BACKEND=x11
exec "${HERE}"/ld-linux-x86-64.so.2 --library-path "${HERE}"/usr/lib "${HERE}"/usr/bin/ghostty "$@"
fi
EOF

chmod +x AppRun
Expand Down