-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
television.conf
69 lines (59 loc) · 1.38 KB
/
television.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
## EXAMPLE CONFIGURATION ##
# COLUMN_SIZE=40
#fzf bindings
# playvid=enter
# detachplayer=alt-d
# onlyaudio=alt-a
# getlink=alt-l
# favschan=alt-f
### presets ###
## swallowers
# _hide_win () {
#devour "$@"
# }
# _hide_win() {
#vent=$(xdo id) \
# && xdo hide $vent
#"$@"
#xdo show $vent
# }
## never swallow
# _hide_win() {
#"$@"
# }
## FFPLAY
#_playvid() {
# $hide ffplay "${*##* }" -window_title "${*%% *}" >/dev/null 2>&1
#}
# _detachplayer() {
# printf '%s\n' "Fetching channel..."
# { setsid -f ffplay "${*##* }" -window_title "${*%% *}" >/dev/null 2>&1 & }
#}
#_onlyaudio() {
# printf '%s\n' "Fetching channel..."
# tput civis; printf '%s\n' "${*%% *}"
# ffplay "${*##* }" -vn -nodisp >/dev/null 2>&1
# tput cnorm
#}
## VLC
# _playvid() {
# $hide vlc "${*##* }" >/dev/null 2>&1
# }
# _onlyaudio() {
# printf '%s\n' "Fetching channel..."
# tput civis; printf '%s\n' "${*%% *}"
# vlc "${*##* }" --intf dummy --novideo >/dev/null 2>&1
# tput cnorm
# }
# _detachplayer() {
# printf '%s\n' "Fetching channel..."
# { setsid -f vlc "${*##* }" >/dev/null 2>&1 & }
# }
## mpv-android
#_playvid() {
# am start --user 0 -a android.intent.action.VIEW -d "${*##* }" -n is.xyz.mpv/.MPVActivity >/dev/null
#}
## vlc android
#_playvid() {
# am start --user 0 -a android.intent.action.VIEW -d "${*##* }" -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity >/dev/null
#}