From e6aa326505607988d507fc3bd33c7eab8f899a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Fri, 10 Sep 2021 09:44:58 +0300 Subject: Minor changes * Neomutt changes to abook query, mailcap default html viewer. * Youtube-viewer config update. * qutebrowser edit with external editor command. --- dotfiles/.config/mutt/mailcap | 2 +- dotfiles/.config/mutt/muttrc | 2 +- dotfiles/.config/qutebrowser/config.py | 2 ++ dotfiles/.config/youtube-viewer/youtube-viewer.conf | 5 +++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dotfiles/.config/mutt/mailcap b/dotfiles/.config/mutt/mailcap index e00a607..71ce50c 100644 --- a/dotfiles/.config/mutt/mailcap +++ b/dotfiles/.config/mutt/mailcap @@ -1,6 +1,6 @@ text/plain; $EDITOR %s ; -text/html; mutt-open %s ; nametemplate=%s.html text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput; +text/html; mutt-open %s ; nametemplate=%s.html image/*; mutt-open %s ; video/*; setsid mpv --quiet %s &; copiousoutput audio/*; mpv %s ; diff --git a/dotfiles/.config/mutt/muttrc b/dotfiles/.config/mutt/muttrc index e77a8c0..207f7c4 100644 --- a/dotfiles/.config/mutt/muttrc +++ b/dotfiles/.config/mutt/muttrc @@ -6,7 +6,7 @@ set date_format="%y/%m/%d %I:%M%p" set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)" set sort = 'reverse-date' set smtp_authenticators = 'gssapi:login' -set query_command = "abook --mutt-query '%s'" +set query_command = "abook -C $HOME/.config/abook/abookrc --datafile $HOME/docs/data/contacts/addressbook --mutt-query '%s'" set rfc2047_parameters = yes set sleep_time = 0 # Pause 0 seconds for informational messages set markers = no # Disables the `+` displayed at line wraps diff --git a/dotfiles/.config/qutebrowser/config.py b/dotfiles/.config/qutebrowser/config.py index a40c127..da3fa8f 100644 --- a/dotfiles/.config/qutebrowser/config.py +++ b/dotfiles/.config/qutebrowser/config.py @@ -26,6 +26,8 @@ ultramar = { 'green': '#6d974b' } +c.editor.command = [ "foot", "nvim", "{file}", "+normal {line}G{column0}l", ] + ## Notifications for websites are retarded c.content.notifications.enabled = False diff --git a/dotfiles/.config/youtube-viewer/youtube-viewer.conf b/dotfiles/.config/youtube-viewer/youtube-viewer.conf index 82e2617..9037017 100644 --- a/dotfiles/.config/youtube-viewer/youtube-viewer.conf +++ b/dotfiles/.config/youtube-viewer/youtube-viewer.conf @@ -1,6 +1,6 @@ #!/usr/bin/perl -# YouTube Viewer 3.9.0 - configuration file +# YouTube Viewer 3.9.3 - configuration file our $CONFIG = { auto_captions => 0, @@ -38,7 +38,6 @@ our $CONFIG = { { 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, @@ -60,6 +59,7 @@ our $CONFIG = { hl => "en_US", http_proxy => undef, ignore_av1 => 0, + ignored_projections => [], interactive => 1, keep_original_video => 0, maxResults => 15, @@ -69,6 +69,7 @@ our $CONFIG = { order => undef, page => 1, prefer_av1 => 0, + prefer_m4a => 0, prefer_mp4 => 0, publishedAfter => undef, publishedBefore => undef, -- cgit v1.2.3