BIN: Deletes open-youtube and puts functionality in yt
The yt script now accepts a --url option which will take a url as an option like yt --url youtube.com/watch?v=blar or echo youtube.com/watch?v=blar | yt --url It will also use rofi rather than fzf if not being run from a terminal or the --rofi flag is given I have updated the files that used to use open-youtube to reflect this
This commit is contained in:
parent
c619f884bd
commit
99736427be
5 changed files with 99 additions and 52 deletions
|
@ -45,8 +45,8 @@ set searchurls.audio https://www.google.com/search?hl=en&ei=cSj3X5L0HYXykwXRpKvY
|
|||
""""""""""""""
|
||||
|
||||
command withUrl composite get_current_url |
|
||||
command openvid withUrl !s open-youtube
|
||||
command openvidLink composite hint -pipe a[href]:not([display="none"]):not([href=""]) href | !s open-youtube
|
||||
command openvid withUrl !s yt --url
|
||||
command openvidLink composite hint -pipe a[href]:not([display="none"]):not([href=""]) href | !s yt --url
|
||||
command testclickjacking withUrl !s $HOME/.config/tridactyl/scripts/clickjacking | nativeopen
|
||||
command openwithbrave withUrl !s /usr/bin/brave
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue