diff options
| author | Andrew <saintruler@gmail.com> | 2021-05-17 17:34:20 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2021-05-17 17:34:20 +0400 |
| commit | 7044d9611cc44ebb61838d7eb06f7833ba183977 (patch) | |
| tree | 295c19e4b05312810f23b225ae0c9cc57b2924dd /.config | |
| parent | d963285b69e05530e7bf873d16ab4e5dee92fb78 (diff) | |
Added neomutt and isync configs, changed terminal to alacritty, changed color scheme of rofi
Diffstat (limited to '.config')
| -rw-r--r-- | .config/alacritty/alacritty.yml | 34 | ||||
| -rw-r--r-- | .config/isync/mbsyncrc | 22 | ||||
| -rw-r--r-- | .config/neomutt/colors.mutt | 71 | ||||
| -rw-r--r-- | .config/neomutt/mailcap | 1 | ||||
| -rw-r--r-- | .config/neomutt/neomuttrc | 32 | ||||
| -rw-r--r-- | .config/rofi/gruvbox-dark.rasi | 175 | ||||
| -rw-r--r-- | .config/sxhkd/sxhkdrc | 2 |
7 files changed, 336 insertions, 1 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..15f1f84 --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,34 @@ +font: + size: 13 + +window: + padding: + x: 7 + y: 7 + +# Colors (Gruvbox dark) +colors: + primary: + background: '#282828' + foreground: '#ebdbb2' + + normal: + black: '#282828' + red: '#cc241d' + green: '#98971a' + yellow: '#d79921' + blue: '#458588' + magenta: '#b16286' + cyan: '#689d6a' + white: '#a89984' + + bright: + black: '#928374' + red: '#fb4934' + green: '#b8bb26' + yellow: '#fabd2f' + blue: '#83a598' + magenta: '#d3869b' + cyan: '#8ec07c' + white: '#ebdbb2' + diff --git a/.config/isync/mbsyncrc b/.config/isync/mbsyncrc new file mode 100644 index 0000000..d30185b --- /dev/null +++ b/.config/isync/mbsyncrc @@ -0,0 +1,22 @@ +IMAPAccount gmail +Host imap.gmail.com +UserCmd "pass Services/mail/gmail1/login" +PassCmd "pass Services/mail/gmail1/password" +SSLType IMAPS +CertificateFile /etc/ssl/certs/ca-certificates.crt + +IMAPStore gmail-remote +Account gmail + +MaildirStore gmail-local +SubFolders Verbatim +Path ~/mail/gmail/ +Inbox ~/mail/gmail/Inbox + +Channel gmail +Far :gmail-remote: +Near :gmail-local: +Patterns * +Create Both +Expunge Both +SyncState * diff --git a/.config/neomutt/colors.mutt b/.config/neomutt/colors.mutt new file mode 100644 index 0000000..bbb5ece --- /dev/null +++ b/.config/neomutt/colors.mutt @@ -0,0 +1,71 @@ +# Default index colors: +color index yellow default '.*' +color index_author red default '.*' +color index_number blue default +color index_subject cyan default '.*' + +# New mail is boldened: +color index brightyellow black "~N" +color index_author brightred black "~N" +color index_subject brightcyan black "~N" + +# Tagged mail is highlighted: +color index brightyellow blue "~T" +color index_author brightred blue "~T" +color index_subject brightcyan blue "~T" + +# Other colors and aesthetic settings: +mono bold bold +mono underline underline +mono indicator reverse +mono error bold +color normal default default +color indicator brightblack white +color sidebar_highlight red default +color sidebar_divider brightblack black +color sidebar_flagged red black +color sidebar_new green black +color normal brightyellow default +color error red default +color tilde black default +color message cyan default +color markers red white +color attachment white default +color search brightmagenta default +color status brightyellow black +color hdrdefault brightgreen default +color quoted green default +color quoted1 blue default +color quoted2 cyan default +color quoted3 yellow default +color quoted4 red default +color quoted5 brightred default +color signature brightgreen default +color bold black default +color underline black default +color normal default default + +# Regex highlighting: +color header blue default ".*" +color header brightmagenta default "^(From)" +color header brightcyan default "^(Subject)" +color header brightwhite default "^(CC|BCC)" +color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses +color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL +color body green default "\`[^\`]*\`" # Green text between ` and ` +color body brightblue default "^# \.*" # Headings as bold blue +color body brightcyan default "^## \.*" # Subheadings as bold cyan +color body brightgreen default "^### \.*" # Subsubheadings as bold green +color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow +color body brightcyan default "[;:][-o][)/(|]" # emoticons +color body brightcyan default "[;:][)(|]" # emoticons +color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? +color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? +color body red default "(BAD signature)" +color body cyan default "(Good signature)" +color body brightblack default "^gpg: Good signature .*" +color body brightyellow default "^gpg: " +color body brightyellow red "^gpg: BAD signature from.*" +mono body bold "^gpg: Good signature" +mono body bold "^gpg: BAD signature from.*" +color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" diff --git a/.config/neomutt/mailcap b/.config/neomutt/mailcap new file mode 100644 index 0000000..f93be9a --- /dev/null +++ b/.config/neomutt/mailcap @@ -0,0 +1 @@ +text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc new file mode 100644 index 0000000..7739d68 --- /dev/null +++ b/.config/neomutt/neomuttrc @@ -0,0 +1,32 @@ +# IMAP folder +set realname="Andrew Guschin" +set folder="~/mail/gmail" +set spoolfile=+Inbox +mailboxes =Inbox +set postponed = +[Gmail]/Drafts + +set header_cache = "~/.cache/neomutt" +set mailcap_path = "~/.config/neomutt/mailcap" +set message_cachedir = "~/.cache/neomutt" + +# SMTP +unset record +set my_user=`pass Services/mail/gmail1/login` +set smtp_pass=`pass Services/mail/gmail1/password` +set smtp_url = "smtps://$my_user@smtp.gmail.com/" +set ssl_starttls = yes + +# config +set sort = 'reverse-date' +set date_format="%y/%m/%d %I:%M%p" + +auto_view text/html + +# rebindings +bind pager j next-line +bind pager k previous-line +bind index,pager,browser \Cd half-down +bind index,pager,browser \Cu half-up +bind index,pager R group-reply + +source colors.mutt diff --git a/.config/rofi/gruvbox-dark.rasi b/.config/rofi/gruvbox-dark.rasi new file mode 100644 index 0000000..94206b2 --- /dev/null +++ b/.config/rofi/gruvbox-dark.rasi @@ -0,0 +1,175 @@ +/* ========================================================================== + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + Author: bardisty <b@bah.im> + Source: https://github.com/bardisty/gruvbox-rofi + ========================================================================== */ + +* { + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox dark colors */ + gruvbox-dark-bg0: #282828; + gruvbox-dark-bg0-soft: #32302f; + gruvbox-dark-bg3: #665c54; + gruvbox-dark-fg0: #fbf1c7; + gruvbox-dark-fg1: #ebdbb2; + gruvbox-dark-red-dark: #cc241d; + gruvbox-dark-red-light: #fb4934; + gruvbox-dark-yellow-dark: #d79921; + gruvbox-dark-yellow-light: #fabd2f; + gruvbox-dark-gray: #a89984; + + /* Theme colors */ + background: @gruvbox-dark-bg0; + background-color: @background; + foreground: @gruvbox-dark-fg1; + border-color: @gruvbox-dark-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-dark-bg0-soft; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-dark-bg3; + selected-normal-foreground: @gruvbox-dark-fg0; + + active-background: @gruvbox-dark-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-dark-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-dark-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-dark-red-light; + selected-urgent-foreground: @urgent-foreground; +} + +window { + background-color: @background; + border: 2; + padding: 2; +} + +mainbox { + border: 0; + padding: 0; +} + +message { + border: 2px 0 0; + border-color: @separatorcolor; + padding: 1px; +} + +textbox { + highlight: @highlight; + text-color: @foreground; +} + +listview { + border: 2px solid 0 0; + padding: 2px 0 0; + border-color: @separatorcolor; + spacing: 2px; + scrollbar: @scrollbar; +} + +element { + border: 0; + padding: 2px; +} + +element.normal.normal { + background-color: @normal-background; + text-color: @normal-foreground; +} + +element.normal.urgent { + background-color: @urgent-background; + text-color: @urgent-foreground; +} + +element.normal.active { + background-color: @active-background; + text-color: @active-foreground; +} + +element.selected.normal { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +element.selected.urgent { + background-color: @selected-urgent-background; + text-color: @selected-urgent-foreground; +} + +element.selected.active { + background-color: @selected-active-background; + text-color: @selected-active-foreground; +} + +element.alternate.normal { + background-color: @alternate-normal-background; + text-color: @alternate-normal-foreground; +} + +element.alternate.urgent { + background-color: @alternate-urgent-background; + text-color: @alternate-urgent-foreground; +} + +element.alternate.active { + background-color: @alternate-active-background; + text-color: @alternate-active-foreground; +} + +scrollbar { + width: 4px; + border: 0; + handle-color: @scrollbar-handle; + handle-width: 8px; + padding: 0; +} + +sidebar { + border: 2px 0 0; + border-color: @separatorcolor; +} + +inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 2px; + children: [ prompt, textbox-prompt-sep, entry, case-indicator ]; +} + +case-indicator, +entry, +prompt, +button { + spacing: 0; + text-color: @normal-foreground; +} + +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} + +textbox-prompt-sep { + expand: false; + str: ":"; + text-color: @normal-foreground; + margin: 0 0.3em 0 0; +} + diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index f23b1e8..6bbee83 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -8,7 +8,7 @@ super + Return # program launcher super + p - rofi -theme solarized_alternate -show drun + rofi -theme gruvbox-dark -show drun # password manager super + shift + p |