Skip to content

Instantly share code, notes, and snippets.

Eugéne Roux jabofh

View GitHub Profile
View urlhandler
#!/usr/bin/env bash
set -euo pipefail
shopt -s nocasematch # for case test
browser="/usr/bin/qutebrowser --target window"
URL=$1
case "${URL}" in
*.jpg | *.jpeg | *.png)
You can’t perform that action at this time.