snownews-url-handler
This commit is contained in:
parent
da50b8b12e
commit
fe7c6e415f
1
Makefile
1
Makefile
|
@ -20,6 +20,7 @@ sh:
|
||||||
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/pco $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f sh/vim-swap-handler $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/vim-swap-handler $(DESTDIR)$(PREFIX)/bin
|
||||||
|
cp -f sh/snownews-url-handler $(DESTDIR)$(PREFIX)/bin
|
||||||
cp -f sh/status $(DESTDIR)$(PREFIX)/bin
|
cp -f sh/status $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
||||||
mkc:
|
mkc:
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
tube="$(printf "%s\n" "$1" | grep "watch?v=" | wc -l)"
|
||||||
|
[ "$tube" -eq 1 ] && mpv "$1" && exit
|
||||||
|
|
||||||
|
firefox -P $1
|
Loading…
Reference in New Issue