~alexdavid/dotfiles

ref: 1eaa9658ff9e593c83db56a000afb6c035d08b8c dotfiles/bin/browser -rwxr-xr-x 428 bytes
1eaa9658 — Alex David Replace qutebrowser with firefox again 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -e

case "$1" in
  https://twitch.tv/*)       mpvsingleton "$1"          ;;
  https://vimeo.com/*)       mpvsingleton "$1"          ;;
  https://youtube.com/*)     mpvsingleton "$1"          ;;
  https://www.youtube.com/*) mpvsingleton "$1"          ;;
  https://youtu.be/*)        mpvsingleton "$1"          ;;
  https://*)                 ~/.config/firefox/launch "New Temporary Profile" "$1" ;;
esac