aboutsummaryrefslogtreecommitdiff
path: root/src/myanimelist_command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/myanimelist_command.sh')
-rw-r--r--src/myanimelist_command.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/myanimelist_command.sh b/src/myanimelist_command.sh
new file mode 100644
index 0000000..e372c04
--- /dev/null
+++ b/src/myanimelist_command.sh
@@ -0,0 +1,5 @@
+if [ -n "${args[profile]}" ]; then
+ xdg-open https://myanimelist.net/profile/"${args[profile]}"
+else
+ xdg-open https://myanimelist.net
+fi