This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:52 -04:00
1 parent dfd8ccf843
commit b88a61bb1c
5 files changed
+2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
# Allow users to override command-line options
if [[ -f $XDG_CONFIG_HOME/typora-flags.conf ]]; then
TYPORA_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/typora-flags.conf | tr '\n' ' ')"
fi
# Launch
exec /usr/share/typora/Typora "$@" $TYPORA_USER_FLAGS