diff options
-rw-r--r-- | dotfiles/.config/lf/lfrc | 1 | ||||
-rw-r--r-- | dotfiles/.config/youtube-viewer/youtube-viewer.conf | 228 |
2 files changed, 125 insertions, 104 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc index 4040195..f14dc87 100644 --- a/dotfiles/.config/lf/lfrc +++ b/dotfiles/.config/lf/lfrc @@ -83,6 +83,7 @@ map I push A<c-a> # rename from the beginning map i push A<a-b><a-b><a-f> # rename before extention map a push A<a-b> # rename after extention map <c-n> push :mkdir<space> +map <c-t> push :$touch<space> map <c-r> reload map <enter> shell map D delete diff --git a/dotfiles/.config/youtube-viewer/youtube-viewer.conf b/dotfiles/.config/youtube-viewer/youtube-viewer.conf index 14d03dc..82e2617 100644 --- a/dotfiles/.config/youtube-viewer/youtube-viewer.conf +++ b/dotfiles/.config/youtube-viewer/youtube-viewer.conf @@ -1,109 +1,129 @@ #!/usr/bin/perl -# YouTube Viewer 3.8.1 - configuration file +# YouTube Viewer 3.9.0 - configuration file our $CONFIG = { - auto_captions => 0, - autoplay_mode => 0, - cache_dir => "$ENV{HOME}/.cache/youtube-viewer", - colors => 1, - comments_order => "time", - confirm => 0, - convert_cmd => "ffmpeg -i *IN* *OUT*", - convert_to => undef, - cookie_file => undef, - copy_caption => 0, - custom_layout => 0, - custom_layout_format => "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n", - dash_mp4_audio => 1, - dash_segmented => 1, - dash_support => 1, - debug => 0, - download_and_play => 0, - download_with_wget => 1, - downloads_dir => ".", - env_proxy => 1, - fat32safe => 0, - ffmpeg_cmd => "/usr/bin/ffmpeg", - fullscreen => 0, - get_captions => 1, - get_term_width => 1, - hfr => 1, - highlight_color => "bold", - highlight_watched => 1, - history => 0, - history_file => "$ENV{HOME}/.config/youtube-viewer/history.txt", - history_limit => 10000, - hl => "en_US", - http_proxy => undef, - ignore_av1 => 0, - interactive => 1, - keep_original_video => 0, - maxResults => 15, - merge_into_mkv => 1, - merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", - merge_with_captions => 1, - order => undef, - page => 1, - prefer_av1 => 0, - prefer_mp4 => 0, - publishedAfter => undef, - publishedBefore => undef, - regionCode => undef, - remove_played_file => 0, - resolution => 1440, - results_fixed_width => 0, - results_with_colors => 1, - results_with_details => 0, - safeSearch => undef, - saved_videos_file => "$ENV{HOME}/.config/youtube-viewer/playlists/saved_videos.txt", - show_video_info => 1, - skip_if_exists => 1, - skip_watched => 0, - srt_languages => ["en", "es"], - subscriptions_order => "relevance", - thousand_separator => ",", - timeout => undef, - user_agent => undef, - video_filename_format => "*FTITLE* - *ID*.*FORMAT*", - video_player_selected => "mpv", - video_players => { - mplayer => { - arg => "-prefer-ipv4 -really-quiet -title *TITLE*", - audio => "-audiofile *AUDIO*", - cmd => "/usr/bin/mplayer", - fs => "-fs", - novideo => "-novideo", - srt => "-sub *SUB*", - }, - mpv => { - arg => "--gpu-context=wayland --title=*TITLE* --no-ytdl", - audio => "--audio-file=*AUDIO*", - cmd => "mpv", - fs => "--fullscreen", - novideo => "--no-video", - srt => "--sub-file=*SUB*", - }, - vlc => { - arg => "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*", - audio => "--input-slave *AUDIO*", - cmd => "vlc", - fs => "--fullscreen", - novideo => "--intf dummy --novideo", - srt => "--sub-file *SUB*", - }, - }, - videoCaption => undef, - videoDefinition => undef, - videoDimension => undef, - videoDuration => undef, - videoLicense => undef, - videoSyndicated => undef, - watch_history => 1, - watch_history_file => "$ENV{HOME}/.config/youtube-viewer/watched.txt", - wget_cmd => "/usr/bin/wget", - youtube_users_file => "$ENV{HOME}/.config/youtube-viewer/youtube_users.txt", - youtube_video_url => "https://www.youtube.com/watch?v=%s", - ytdl => 1, - ytdl_cmd => "/usr/bin/youtube-dl", + auto_captions => 0, + autolike_watched => 0, + autoplay_mode => 0, + cache_dir => "$ENV{HOME}/.cache/youtube-viewer", + colors => 1, + comments_order => "time", + confirm => 0, + convert_cmd => "ffmpeg -i *IN* *OUT*", + convert_to => undef, + cookie_file => undef, + copy_caption => 0, + custom_channel_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { align => "left", color => "bold blue", text => "*TITLE*", width => "55%" }, + { align => "right", color => "yellow", text => "*AGE_SHORT*", width => 3 }, + { + align => "right", + color => "magenta", + text => "*VIDEOS* videos", + width => 14, + }, + { + align => "right", + color => "green", + text => "*SUBS_SHORT* subs", + width => 10, + }, + ], + custom_layout_format => "*NO*. *TITLE* (*AUTHOR*) (*RATING*) [*TIME*]\\n", + custom_playlist_layout_format => [ + { align => "right", color => "bold", text => "*NO*.", width => 3 }, + { align => "left", color => "bold blue", text => "*TITLE*", width => "55%" }, + { align => "right", color => "green", text => "*ITEMS* videos", width => 14 }, + { align => "left", color => "magenta", text => "*AUTHOR*", width => "20%" }, + ], + dash_mp4_audio => 1, + dash_segmented => 1, + dash_support => 1, + debug => 0, + download_and_play => 0, + download_with_wget => 1, + downloads_dir => ".", + env_proxy => 1, + fat32safe => 0, + ffmpeg_cmd => "/usr/bin/ffmpeg", + fullscreen => 0, + get_captions => 1, + get_term_width => 1, + hfr => 1, + highlight_color => "bold", + highlight_watched => 1, + history => 0, + history_file => "$ENV{HOME}/.config/youtube-viewer/history.txt", + history_limit => 10000, + hl => "en_US", + http_proxy => undef, + ignore_av1 => 0, + interactive => 1, + keep_original_video => 0, + maxResults => 15, + merge_into_mkv => 1, + merge_into_mkv_args => "-loglevel warning -c:s srt -c:v copy -c:a copy -disposition:s forced", + merge_with_captions => 1, + order => undef, + page => 1, + prefer_av1 => 0, + prefer_mp4 => 0, + publishedAfter => undef, + publishedBefore => undef, + regionCode => undef, + remove_played_file => 0, + resolution => 1080, + safeSearch => undef, + saved_videos_file => "$ENV{HOME}/.config/youtube-viewer/playlists/saved_videos.txt", + show_video_info => 1, + skip_if_exists => 1, + skip_watched => 0, + srt_languages => ["en", "es"], + subscriptions_order => "relevance", + thousand_separator => ",", + timeout => undef, + user_agent => undef, + video_filename_format => "*FTITLE* - *ID*.*FORMAT*", + video_player_selected => "mpv", + video_players => { + mplayer => { + arg => "-prefer-ipv4 -really-quiet -title *TITLE*", + audio => "-audiofile *AUDIO*", + cmd => "/usr/bin/mplayer", + fs => "-fs", + novideo => "-novideo", + srt => "-sub *SUB*", + }, + mpv => { + arg => "--gpu-context=wayland --title=*TITLE* --no-ytdl", + audio => "--audio-file=*AUDIO*", + cmd => "mpv", + fs => "--fullscreen", + novideo => "--no-video", + srt => "--sub-file=*SUB*", + }, + vlc => { + arg => "--quiet --play-and-exit --no-video-title-show --input-title-format *TITLE*", + audio => "--input-slave *AUDIO*", + cmd => "vlc", + fs => "--fullscreen", + novideo => "--intf dummy --novideo", + srt => "--sub-file *SUB*", + }, + }, + videoCaption => undef, + videoDefinition => undef, + videoDimension => undef, + videoDuration => undef, + videoLicense => undef, + videoSyndicated => undef, + watch_history => 1, + watch_history_file => "$ENV{HOME}/.config/youtube-viewer/watched.txt", + wget_cmd => "/usr/bin/wget", + youtube_users_file => "$ENV{HOME}/.config/youtube-viewer/youtube_users.txt", + youtube_video_url => "https://www.youtube.com/watch?v=%s", + ytdl => 1, + ytdl_cmd => "/usr/bin/youtube-dl", } |