summarylogtreecommitdiffstats
path: root/obsidian.sh
blob: 4d2b81454c9837290ef573119a20a9113b0c99cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

export _portableConfig=md.obsidian.app
export launchTarget="electron34 /usr/lib/obsidian/app.asar --ozone-platform-hint=auto --enable-wayland-ime --wayland-text-input-version=3 $@"

if [[ "$@" = "--actions opendir" ]]; then
	portable --actions opendir
elif [[ "$@" = "--actions share-files" ]]; then
	portable --actions share-files
elif [[ "$@" = "--actions quit" ]]; then
	portable --actions quit
else
	portable
fi