Keybase proof
I hereby claim:
- I am cesarolea on github.
- I am cesarolea (https://keybase.io/cesarolea) on keybase.
- I have a public key whose fingerprint is DFB5 1BAF 464E ED9D 6B39 7E63 2A6A A95D 208C 4CD7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
URL=$1 | |
DOMAIN=$(echo "$URL" | awk -F[/:] '{print $4}') | |
## Domain starts with | |
if [[ $DOMAIN =~ $(echo ^\($(paste -sd'|' /home/your-user/.config/url-start.txt)\)$) ]]; then | |
chromium-browser "$URL" & disown | |
elif [[ $DOMAIN =~ $(echo ^\($(paste -sd'|' /home/your-user/.config/url-is.txt)\)$) ]]; then | |
firefox "$URL" & disown |