aboutsummaryrefslogtreecommitdiff
path: root/src/crunchyroll_command.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/crunchyroll_command.sh')
-rw-r--r--src/crunchyroll_command.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crunchyroll_command.sh b/src/crunchyroll_command.sh
new file mode 100644
index 0000000..c80bcf6
--- /dev/null
+++ b/src/crunchyroll_command.sh
@@ -0,0 +1,5 @@
+if [ -n "${args[search]}" ]; then
+ xdg-open https://www.crunchyroll.com/search?q="$(array_to_string "${args[search]}")"
+else
+ xdg-open https://www.crunchyroll.com/
+fi