summaryrefslogtreecommitdiff
path: root/run.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 15:41:28 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 15:41:28 +1100
commita313624734dde8b2f562eb0815c52e93b00f7986 (patch)
tree18ce329e15814cda92fd3e750fea6f28fcfc6dc7 /run.fish
parentpopupwindow: allow different anims for show/hide (diff)
downloadcaelestia-shell-a313624734dde8b2f562eb0815c52e93b00f7986.tar.gz
caelestia-shell-a313624734dde8b2f562eb0815c52e93b00f7986.tar.bz2
caelestia-shell-a313624734dde8b2f562eb0815c52e93b00f7986.zip
launcher modes + player controls IPC
Diffstat (limited to 'run.fish')
-rwxr-xr-xrun.fish11
1 files changed, 11 insertions, 0 deletions
diff --git a/run.fish b/run.fish
new file mode 100755
index 0000000..66e23ef
--- /dev/null
+++ b/run.fish
@@ -0,0 +1,11 @@
+#!/bin/fish
+
+cd (dirname (status filename)) || exit 1
+
+set -q XDG_RUNTIME_DIR && set bundle_dir $XDG_RUNTIME_DIR || set bundle_dir /tmp
+
+./node_modules/.bin/esbuild app.tsx --bundle --outfile=$bundle_dir/caelestia.js \
+ --external:console --external:system --external:cairo --external:gettext --external:'file://*' --external:'gi://*' --external:'resource://*' \
+ --define:SRC=\"(pwd)\" --format=esm --platform=neutral --main-fields=module,main
+
+gjs -m $bundle_dir/caelestia.js