urxvt - open urls smarter
This commit is contained in:
parent
14b52791ec
commit
3171048232
2 changed files with 6 additions and 1 deletions
5
local/bin/open.sh
Executable file
5
local/bin/open.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
curl -IL $1 \
|
||||
| grep Content-Type \
|
||||
| tail -n 1 \
|
||||
| grep image && feh $1 || firefox $1
|
Loading…
Add table
Add a link
Reference in a new issue