/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to scripts/launch_youtube_chat.sh

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-13 19:54:22 UTC
  • Revision ID: git-v1:193f1ca73ac6fffbef379045e4a5c28f8870b65f
Fixed readme.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env bash
2
2
####
3
 
# FILE NAME: launch_youtube_chat.sh
4
 
#
5
3
# Launch a web browser with the chat pop-out for a YouTube live stream.
6
 
#
7
4
####
 
5
ARGS=()
 
6
ARGS="${@}"
8
7
 
9
8
 
10
9
__DEFAULT_BROWSER=xdg-open
32
31
}
33
32
 
34
33
function __parse_args () {
35
 
  if [[ -z "$1" ]]
 
34
  if [ -z "$1" ]
36
35
  then
37
36
    echo "Try --help or -h."
38
37
    exit 1