aboutsummaryrefslogtreecommitdiff
path: root/src/crunchyroll_command.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-07-15 22:01:34 -0700
committerFuwn <[email protected]>2023-07-15 22:01:34 -0700
commit9c3068e61d4b4dd6543d793442dcda97f7a34a66 (patch)
tree2379b105e62dae97b481401291f5d5e98454d732 /src/crunchyroll_command.sh
downloadkaguya-9c3068e61d4b4dd6543d793442dcda97f7a34a66.tar.xz
kaguya-9c3068e61d4b4dd6543d793442dcda97f7a34a66.zip
feat: initial release
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