Add more configs

This commit is contained in:
2019-06-23 19:51:34 +04:00
parent 22b7229ddd
commit 7ba46f8814
12 changed files with 246 additions and 22 deletions

View File

@@ -1,6 +1,4 @@
! URxvt*foreground: #F5FAFC URxvt*font: xft:Iosevka\ Term:size=11
! URxvt*background: #1C1F22
URxvt*font: xft:Iosevka\ Term:size=12
URxvt*scrollBar: false URxvt*scrollBar: false
! URxvt*geometry: 167x54 ! URxvt*geometry: 167x54
@@ -34,3 +32,6 @@ Xft.hinting: true
Xft.hintstyle: hintslight Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault Xft.lcdfilter: lcddefault
Xft.rgba: rgb Xft.rgba: rgb
#include ".Xresources.d/base16-gruvbox-dark-hard-256"
#include ".Xresources.d/st"

View File

@@ -0,0 +1,50 @@
! Base16 Gruvbox dark, hard
! Scheme: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
#define base00 #1d2021
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e
*.foreground: base05
*.background: base00
*.cursorColor: base05
*.color0: base00
*.color1: base08
*.color2: base0B
*.color3: base0A
*.color4: base0D
*.color5: base0E
*.color6: base0C
*.color7: base05
*.color8: base03
*.color9: base08
*.color10: base0B
*.color11: base0A
*.color12: base0D
*.color13: base0E
*.color14: base0C
*.color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
*.color16: base09
*.color17: base0F
*.color18: base01
*.color19: base02
*.color20: base04
*.color21: base06

40
.Xresources.d/st Normal file
View File

@@ -0,0 +1,40 @@
! These are all possible options, presented with default values.
! xst will fallback to *.option if st.option is not present.
! see src/config.h for more information about option meanings.
! These options only take effect on startup.
st.termname: xterm-256color
! if you do not set shell, precedence is: -e arg, utmp option, SHELL env var, /etc/passwd shell
! st.shell: /bin/sh
! The following options options can be reloaded via USR1 signal.
st.font: Iosevka Term:pixelsize=18:antialias=true:autohint=false:dpi=120;
st.borderpx: 0
! Available cursor values: 2 4 6 7 = █ _ | ☃ ( 1 3 5 are blinking versions)
st.cursorshape: 2
! thickness of underline and bar cursors
st.cursorthickness: 2
! 0: normal blinking, 1: leave cursor border and blink with cursor's background
st.cursorblinkstyle: 0
! 0: cursor blinks with a constant interval; 1: blinking cycle resets on key input
st.cursorblinkontype: 1
st.bold_font: 1
st.xfps: 120
st.actionfps: 30
! Amount of lines scrolled
st.mouseScrollLines: 1
! Kerning / character bounding-box height multiplier
st.chscale: 1.0
! Kerning / character bounding-box width multiplier
st.cwscale: 1.0
! blinking timeout for terminal and cursor blinking (0 disables)
st.blinktimeout: 800
! bell volume. Value between -100 and 100. (0 disables)
st.bellvolume: 100
! this is a char that is exposed like so: `printf '\033[z'`
st.prompt_char: $
! This option is can be preedit style. Available values: `root` `overthespot` (Default taken `root`)
st.imstyle: root
! opacity==255 means what terminal will be not transparent, 0 - fully transparent
st.opacity: 255

View File

@@ -8,7 +8,6 @@
auto-reload yes auto-reload yes
browser qutebrowser browser qutebrowser
cleanup-on-quit yes cleanup-on-quit yes
# download-path "/home/moparx/downloads/podcasts"
feed-sort-order firsttag feed-sort-order firsttag
max-downloads 4 max-downloads 4
notify-always yes notify-always yes
@@ -17,12 +16,12 @@ notify-program notify-send
notify-xterm no notify-xterm no
notify-screen no notify-screen no
player mpv player mpv
refresh-on-startup yes refresh-on-startup no
reload-time 60 reload-time 60
reload-threads 2 reload-threads 4
#show-read-articles no #show-read-articles no
show-read-feeds yes show-read-feeds yes
prepopulate-query-feeds yes prepopulate-query-feeds no
feedlist-format "%4i %11u %T > %t" feedlist-format "%4i %11u %T > %t"

View File

@@ -9,6 +9,9 @@ AllCops:
- 'script/**/*' - 'script/**/*'
- 'vendor/bundle/**/*' - 'vendor/bundle/**/*'
- 'app/assets/**/*' - 'app/assets/**/*'
- 'node_modules/**/*'
- 'tmp/**/*'
- 'log/**/*'
Rails: Rails:
Enabled: true Enabled: true

View File

@@ -1,4 +1,4 @@
export TIMELOG=$HOME/.work-ledger/ledger/timelogger.ldg export TIMELOG=$HOME/.work-ledger/ledger/timelogger.ldg
export TERMINAL=kitty export TERMINAL=xst
export XTERM=kitty export XTERM=xst
export EDITOR=nvim export EDITOR=nvim

View File

@@ -1,2 +1 @@
export LANGUAGE=en_US:en_GB:en export LANGUAGE=en_US:en_GB:en
export LC_TIME=ru_RU.UTF-8

View File

@@ -12,7 +12,7 @@ show_program_path=1
highlight_base_name=1 highlight_base_name=1
highlight_megabytes=0 highlight_megabytes=0
highlight_threads=1 highlight_threads=1
tree_view=1 tree_view=0
header_margin=1 header_margin=1
detailed_cpu_time=1 detailed_cpu_time=1
cpu_count_from_zero=1 cpu_count_from_zero=1

View File

@@ -53,9 +53,8 @@ client.placeholder #000000 #0c0c0c #fbf1c7 #000000 #0c0c0c
client.background #ffffff client.background #ffffff
# start a terminal # start a terminal
bindsym $mod+Shift+t exec kitty bindsym $mod+Shift+t exec terminal
bindsym $mod+Return exec kitty bindsym $mod+Return exec terminal
bindsym $mod+b exec qutebrowser
# kill focused window # kill focused window
bindsym $mod+Shift+c kill bindsym $mod+Shift+c kill
@@ -167,10 +166,10 @@ bindsym $mod+Shift+z exec "i3lock"
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
bindsym h resize shrink width 10 px or 10 ppt bindsym h resize shrink width 3 px or 3 ppt
bindsym j resize grow height 10 px or 10 ppt bindsym j resize grow height 3 px or 3 ppt
bindsym k resize shrink height 10 px or 10 ppt bindsym k resize shrink height 3 px or 3 ppt
bindsym l resize grow width 10 px or 10 ppt bindsym l resize grow width 3 px or 3 ppt
# back to normal: Enter or Escape or $mod+r # back to normal: Enter or Escape or $mod+r
bindsym Return mode "default" bindsym Return mode "default"
@@ -204,6 +203,11 @@ bar {
} }
} }
# Backlight control
bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -A 5
bindsym XF86MonBrightnessDown exec --no-startup-id sudo light -U 5
bindsym XF86Search exec --no-startup-id suspend
# Autorun # Autorun
exec --no-startup-id feh --bg-scale ~/.config/i3/bg.jpg exec --no-startup-id feh --bg-scale ~/.config/i3/bg.jpg
exec --no-startup-id xautorun exec --no-startup-id xautorun

View File

@@ -1,10 +1,10 @@
include colors/base16/base16-gruvbox-dark-hard-256.conf include colors/base16/base16-gruvbox-dark-hard-256.conf
font_family Iosevka Term Medium font_family Iosevka Term
font_size 11 font_size 11
bold_font Iosevka Term Heavy bold_font Iosevka Term Medium
italic_font Iosevka Term Medium Oblique italic_font Iosevka Term Oblique
bold_italic_font Iosevka Term Heavy Oblique bold_italic_font Iosevka Term Medium Oblique
adjust_line_height 95% adjust_line_height 95%
tab_bar_style separator tab_bar_style separator

1
mutt/mailcap Normal file
View File

@@ -0,0 +1 @@
text/html; elinks -dump ; copiousoutput;

127
mutt/muttrc Normal file
View File

@@ -0,0 +1,127 @@
## General options
set header_cache = "~/.cache/mutt"
set message_cachedir = "~/.cache/mutt"
set imap_check_subscribed
set imap_keepalive = 300
unset imap_passive
set mail_check = 60
set mbox_type=Maildir
# The default index_format is:
# '%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s'
#
# We replace the date field '%{%b %d}', giving:
set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s'
# Test Date Range Format String Example
# --------------------------------------------
# %[d Today %[%H:%M ] 12:34
# %[m This month %[%a %d] Thu 12
# %[y This year %[%b %d] Dec 10
# — Older %[%m/%y ] 06/15
# Color if the attachment is autoviewed
color attach_headers brightgreen default "Autoview"
# Color only the brackets around the headers
color attach_headers brightyellow default "^\\[--"
color attach_headers brightyellow default "--]$"
# Color the mime type and the size
color attach_headers green default "Type: [a-z]+/[a-z0-9\-]+"
color attach_headers green default "Size: [0-9\.]+[KM]"
# Color GPGME signature checks
color attach_headers brightgreen default "Good signature from.*"
color attach_headers brightred default "Bad signature from.*"
color attach_headers brightred default "BAD signature from.*"
color attach_headers brightred default "Note: This key has expired!"
color attach_headers brightmagenta default "Problem signature from.*"
color attach_headers brightmagenta default "WARNING: This key is not certified with a trusted signature!"
color attach_headers brightmagenta default " There is no indication that the signature belongs to the owner."
color attach_headers brightmagenta default "can't handle these multiple signatures"
color attach_headers brightmagenta default "signature verification suppressed"
color attach_headers brightmagenta default "invalid node with packet of type"
# Entire index line
color index white black '.*'
# Author name, %A %a %F %L %n
# Give the author column a dark grey background
color index_author default color234 '.*'
# Highlight a particular from (~f)
# color index_author brightyellow color234 '~fRay Charles'
# Message flags, %S %Z
# Highlight the flags for flagged (~F) emails
color index_flags default red '~F'
# Subject, %s
# Look for a particular subject (~s)
# color index_subject brightcyan default '~s\(closes #[0-9]+\)'
# Number of messages in a collapsed thread, %M
color index_collapsed default brightblue
# Date field
color index_date green default
# Message label, %y %Y
color index_label default brightgreen
# Message number, %C
color index_number red default
# Message size, %c %l
color index_size cyan default
# The 'progress' feature provides clear visual feedback for
# slow tasks, such as indexing a large folder over the net.
# Set the color of the progress bar
# White text on a red background
color progress white red
# Limit view to current thread
bind index <esc>L limit-current-thread
# The 'S' (skip-quoted) command scrolls the pager past the quoted text (usually
# indented with '> '. Setting 'skip_quoted_offset' leaves some lines of quoted
# text on screen for context.
# Show three quoted lines before the reply
set skip_quoted_offset = 3
set new_mail_command="notify-send 'New e-mail' '%n new messages, %u unread.' &"
## Keys
bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry
bind index,pager B sidebar-toggle-visible
bind index \Cg imap-fetch-mail
bind index,pager \CK sidebar-prev
bind index,pager \CJ sidebar-next
bind index,pager \CO sidebar-open
macro attach 'V' "<pipe-entry>cat >~/.cache/mutt/mail.html && qutebrowser file:///home/kressh/.cache/mutt/mail.html && rm ~/.cache/mutt/mail.html<enter>"
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
# Etc
set mail_check = 30
set move = no
set imap_keepalive = 900
set sort = threads
set sort_browser = date
set sort_aux = reverse-last-date-received
set editor = "nvim"
set send_charset = "utf-8"
set sidebar_visible = no
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set mail_check_stats
set pager_index_lines = 10
set mailcap_path = ~/.config/mutt/mailcap
alternative_order text/plain text/html
auto_view text/html
# GnuPG bootstrap
# source ~/.mutt/gpg.rc
source ~/.config/mutt/mailboxes.muttrc