From 20edbe76e8f99ca7977440247b50ff8ed0ed1e49 Mon Sep 17 00:00:00 2001 From: Maksim Totmin Date: Sun, 3 Mar 2024 12:43:03 +0700 Subject: [PATCH] add termusic conf, mutt reconf --- rockethype/config/mutt/muttrc | 78 ++- rockethype/config/termusic/config.toml | 596 ++++++++++++++++++ .../config/termusic/themes/Rockethype.yml | 27 + 3 files changed, 667 insertions(+), 34 deletions(-) create mode 100644 rockethype/config/termusic/config.toml create mode 100644 rockethype/config/termusic/themes/Rockethype.yml diff --git a/rockethype/config/mutt/muttrc b/rockethype/config/mutt/muttrc index 1776f34..927bcc8 100644 --- a/rockethype/config/mutt/muttrc +++ b/rockethype/config/mutt/muttrc @@ -1,41 +1,51 @@ -# ACCOUNTS -set my_name = 'Ivan Ivanovich' -set my_user = 'ivan@mail.ru' -source 'gpg -d ~/.config/mutt/mypass.gpg |' +# Config +set my_name = 'Ivanov Ivan' +set my_user = 'ivan@ivanov.ru' +set my_ms = 'mail.ivanov.ru' +source 'gpg -d ~/.config/mutt/password.gpg |' -# GENERAL OPTIONS -set header_cache = ~/.config/mutt/ivan.ru/cache/headers -set message_cachedir = ~/.config/mutt/ivan.ru/cache/bodies +# General +set header_cache = '~/.config/mutt/totmin.ru/cache/headers' +set message_cachedir = '~/.config/mutt/totmin.ru/cache/bodies' -# RECEIVE OPTIONS +# Receive options set imap_check_subscribed unset imap_passive -set imap_keepalive = 900 -set mail_check = 1800 +set imap_keepalive = 900 +set mail_check = 1800 -# REMOTE FOLDERS -set imap_user = $my_user -set imap_pass = $my_pass -set folder = 'imaps://imap.mail.ru:993' -set spoolfile = '+INBOX' -set postponed = '+Черновики' -set record = '+Отправленные' +# Remote folder +set imap_user = $my_user +set imap_pass = $my_pass +set folder = 'imaps://'$my_ms':993' +set spoolfile = '+INBOX' +set postponed = '+Drafts' +set record = '+Sent' +set sort_aux = last-date-received +set sort = reverse-threads +set fast_reply = yes +set include = yes +set forward_quote = yes -# SEND OPTIONS -set ssl_starttls = yes -set ssl_force_tls = yes -set realname = $my_name -set from = $my_user -set smtp_url = 'smtps://'$my_user'@smtp.mail.ru:465/' -set smtp_pass = $my_pass +# Send options +set ssl_starttls = yes +set ssl_force_tls = yes +set realname = $my_name +set from = $my_user +set smtp_url = 'smtps://'$my_user'@'$my_ms':587/' +set smtp_pass = $my_pass -# STUFF CRYPTO -set crypt_autosign=yes -set crypt_replysign=yes -set crypt_replysignencrypted=yes -set crypt_replyencrypt=yes -set pgp_use_gpg_agent=yes -set crypt_use_gpgme=yes -set pgp_sign_as=en2zmax -set pgp_timeout=300 -set tmpdir=/tmp/ +# colors +color normal white default +color attachment brightyellow default +color hdrdefault red default +color indicator black red +color markers brightred default +color quoted green default +color signature cyan default +color status black blue +color tilde blue default +color tree blue default + +color index red black ~D +color index magenta black ~T diff --git a/rockethype/config/termusic/config.toml b/rockethype/config/termusic/config.toml new file mode 100644 index 0000000..9726ba4 --- /dev/null +++ b/rockethype/config/termusic/config.toml @@ -0,0 +1,596 @@ +music_dir = ["/home/mat/Music", "/home/mat/Downloads/Vinyl-Rip"] +player_port = 50101 +player_loop_mode = "Playlist" +player_volume = 90 +player_speed = 10 +player_gapless = true +podcast_simultanious_download = 3 +podcast_max_retries = 3 +podcast_dir = "/home/mat/Music/podcast" +player_seek_step = "Auto" +player_remember_last_played_position = "Auto" +enable_exit_confirmation = true +playlist_display_symbol = true +playlist_select_random_track_quantity = 20 +playlist_select_random_album_quantity = 5 +theme_selected = "Rockethype" +kill_daemon_when_quit = true +player_use_mpris = true +player_use_discord = true + +[album_photo_xywh] +x_between_1_100 = 99 +y_between_1_100 = 77 +width_between_1_100 = 20 +align = "BottomLeft" + +[style_color_symbol] +library_foreground = "Foreground" +library_background = "Reset" +library_border = "Blue" +library_highlight = "Red" +library_highlight_symbol = "🦄" +playlist_foreground = "Foreground" +playlist_background = "Reset" +playlist_border = "Blue" +playlist_highlight = "Red" +playlist_highlight_symbol = "🚀" +progress_foreground = "Red" +progress_background = "Reset" +progress_border = "Blue" +lyric_foreground = "Foreground" +lyric_background = "Reset" +lyric_border = "Blue" + +[style_color_symbol.alacritty_theme] +path = "/home/mat/.config/termusic/themes/Rockethype.yml" +name = "empty name" +author = "empty author" +background = "#303030" +foreground = "#abb2bf" +cursor = "#FFFFFF" +text = "#FFFFFF" +black = "#282c34" +red = "#e06c75" +green = "#98c379" +yellow = "#e5c07b" +blue = "#81A1C1" +magenta = "#c678dd" +cyan = "#56b6c2" +white = "#c8ccd4" +light_black = "#7f7f7f" +light_red = "#ff0000" +light_green = "#00ff00" +light_yellow = "#ffff00" +light_blue = "#5c5cff" +light_magenta = "#ff00ff" +light_cyan = "#00ffff" +light_white = "#ffffff" + +[keys.global_esc.code] +type = "Esc" + +[keys.global_esc.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_quit.code] +type = "Char" +args = "q" + +[keys.global_quit.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_left.code] +type = "Char" +args = "h" + +[keys.global_left.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_down.code] +type = "Char" +args = "j" + +[keys.global_down.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_up.code] +type = "Char" +args = "k" + +[keys.global_up.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_right.code] +type = "Char" +args = "l" + +[keys.global_right.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_goto_top.code] +type = "Char" +args = "g" + +[keys.global_goto_top.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_goto_bottom.code] +type = "Char" +args = "G" + +[keys.global_goto_bottom.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_player_toggle_pause.code] +type = "Char" +args = " " + +[keys.global_player_toggle_pause.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_player_next.code] +type = "Char" +args = "n" + +[keys.global_player_next.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_player_previous.code] +type = "Char" +args = "N" + +[keys.global_player_previous.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_player_volume_plus_1.code] +type = "Char" +args = "+" + +[keys.global_player_volume_plus_1.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_player_volume_plus_2.code] +type = "Char" +args = "=" + +[keys.global_player_volume_plus_2.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_player_volume_minus_1.code] +type = "Char" +args = "_" + +[keys.global_player_volume_minus_1.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_player_volume_minus_2.code] +type = "Char" +args = "-" + +[keys.global_player_volume_minus_2.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_help.code] +type = "Char" +args = "h" + +[keys.global_help.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.global_player_seek_forward.code] +type = "Char" +args = "f" + +[keys.global_player_seek_forward.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_player_seek_backward.code] +type = "Char" +args = "b" + +[keys.global_player_seek_backward.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_lyric_adjust_forward.code] +type = "Char" +args = "F" + +[keys.global_lyric_adjust_forward.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_lyric_adjust_backward.code] +type = "Char" +args = "B" + +[keys.global_lyric_adjust_backward.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_player_speed_up.code] +type = "Char" +args = "f" + +[keys.global_player_speed_up.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.global_player_speed_down.code] +type = "Char" +args = "b" + +[keys.global_player_speed_down.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.global_lyric_cycle.code] +type = "Char" +args = "T" + +[keys.global_lyric_cycle.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_layout_treeview.code] +type = "Char" +args = "1" + +[keys.global_layout_treeview.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_layout_database.code] +type = "Char" +args = "2" + +[keys.global_layout_database.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_player_toggle_gapless.code] +type = "Char" +args = "g" + +[keys.global_player_toggle_gapless.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.global_config_open.code] +type = "Char" +args = "C" + +[keys.global_config_open.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.global_save_playlist.code] +type = "Char" +args = "s" + +[keys.global_save_playlist.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.global_layout_podcast.code] +type = "Char" +args = "3" + +[keys.global_layout_podcast.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.global_xywh_move_left.code] +type = "Left" + +[keys.global_xywh_move_left.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_move_right.code] +type = "Right" + +[keys.global_xywh_move_right.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_move_up.code] +type = "Up" + +[keys.global_xywh_move_up.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_move_down.code] +type = "Down" + +[keys.global_xywh_move_down.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_zoom_in.code] +type = "PageUp" + +[keys.global_xywh_zoom_in.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_zoom_out.code] +type = "PageDown" + +[keys.global_xywh_zoom_out.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.global_xywh_hide.code] +type = "End" + +[keys.global_xywh_hide.modifier] +type = "KeyModifiers" +bits = 3 + +[keys.library_load_dir.code] +type = "Char" +args = "L" + +[keys.library_load_dir.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.library_delete.code] +type = "Char" +args = "d" + +[keys.library_delete.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_yank.code] +type = "Char" +args = "y" + +[keys.library_yank.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_paste.code] +type = "Char" +args = "p" + +[keys.library_paste.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_search.code] +type = "Char" +args = "/" + +[keys.library_search.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_search_youtube.code] +type = "Char" +args = "s" + +[keys.library_search_youtube.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_tag_editor_open.code] +type = "Char" +args = "t" + +[keys.library_tag_editor_open.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_switch_root.code] +type = "Char" +args = "o" + +[keys.library_switch_root.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_add_root.code] +type = "Char" +args = "a" + +[keys.library_add_root.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.library_remove_root.code] +type = "Char" +args = "A" + +[keys.library_remove_root.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.playlist_delete.code] +type = "Char" +args = "d" + +[keys.playlist_delete.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.playlist_delete_all.code] +type = "Char" +args = "D" + +[keys.playlist_delete_all.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.playlist_shuffle.code] +type = "Char" +args = "r" + +[keys.playlist_shuffle.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.playlist_mode_cycle.code] +type = "Char" +args = "m" + +[keys.playlist_mode_cycle.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.playlist_play_selected.code] +type = "Char" +args = "l" + +[keys.playlist_play_selected.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.playlist_search.code] +type = "Char" +args = "/" + +[keys.playlist_search.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.playlist_swap_down.code] +type = "Char" +args = "J" + +[keys.playlist_swap_down.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.playlist_swap_up.code] +type = "Char" +args = "K" + +[keys.playlist_swap_up.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.playlist_cmus_lqueue.code] +type = "Char" +args = "S" + +[keys.playlist_cmus_lqueue.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.playlist_cmus_tqueue.code] +type = "Char" +args = "s" + +[keys.playlist_cmus_tqueue.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.database_add_all.code] +type = "Char" +args = "L" + +[keys.database_add_all.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.config_save.code] +type = "Char" +args = "s" + +[keys.config_save.modifier] +type = "KeyModifiers" +bits = 2 + +[keys.podcast_mark_played.code] +type = "Char" +args = "m" + +[keys.podcast_mark_played.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_mark_all_played.code] +type = "Char" +args = "M" + +[keys.podcast_mark_all_played.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.podcast_episode_download.code] +type = "Char" +args = "d" + +[keys.podcast_episode_download.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_episode_delete_file.code] +type = "Char" +args = "x" + +[keys.podcast_episode_delete_file.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_delete_feed.code] +type = "Char" +args = "d" + +[keys.podcast_delete_feed.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_delete_all_feeds.code] +type = "Char" +args = "D" + +[keys.podcast_delete_all_feeds.modifier] +type = "KeyModifiers" +bits = 1 + +[keys.podcast_search_add_feed.code] +type = "Char" +args = "s" + +[keys.podcast_search_add_feed.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_refresh_feed.code] +type = "Char" +args = "r" + +[keys.podcast_refresh_feed.modifier] +type = "KeyModifiers" +bits = 0 + +[keys.podcast_refresh_all_feeds.code] +type = "Char" +args = "R" + +[keys.podcast_refresh_all_feeds.modifier] +type = "KeyModifiers" +bits = 1 diff --git a/rockethype/config/termusic/themes/Rockethype.yml b/rockethype/config/termusic/themes/Rockethype.yml new file mode 100644 index 0000000..98656e1 --- /dev/null +++ b/rockethype/config/termusic/themes/Rockethype.yml @@ -0,0 +1,27 @@ +# XTerm's default colors +colors: + # Default colors + primary: + background: '#303030' + foreground: '#abb2bf' + # Normal colors + normal: + black: '#282c34' + red: '#e06c75' + green: '#98c379' + yellow: '#e5c07b' + blue: '#81A1C1' + magenta: '#c678dd' + cyan: '#56b6c2' + white: '#c8ccd4' + + # Bright colors + bright: + black: '#7f7f7f' + red: '#ff0000' + green: '#00ff00' + yellow: '#ffff00' + blue: '#5c5cff' + magenta: '#ff00ff' + cyan: '#00ffff' + white: '#ffffff'