diff options
author | ダカマ <dakama@kakeranoumi.xyz> | 2025-06-02 13:08:46 +0200 |
---|---|---|
committer | ダカマ <dakama@kakeranoumi.xyz> | 2025-06-02 13:08:46 +0200 |
commit | 14a892e627a375334a02381351f139d94ad7ecf3 (patch) | |
tree | e7c1ee5040f3076f57401b3b9e9eb567e2ecfb1a /scriptlets/url_processor.sh |
Diffstat (limited to 'scriptlets/url_processor.sh')
-rwxr-xr-x | scriptlets/url_processor.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scriptlets/url_processor.sh b/scriptlets/url_processor.sh new file mode 100755 index 0000000..98ae663 --- /dev/null +++ b/scriptlets/url_processor.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +BROWSER="chromium" +FLAGS="--profile-directory=Default" +LINK=$( sed -r "s|youtube\.com|yewtu\.be|g" <<< "$1" ) + +$BROWSER "$FLAGS" "$LINK" + |