dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 574f256f05ef841dc20aaf44a0103381243e89c6
parent 6b792b2797ab2110fa03cd3ec8ef30f14355c616
Author: Ashymad <czilukim@o2.pl>
Date:   Sat, 25 Aug 2018 18:10:01 +0200

Merge branch 'master' into notwobug

Diffstat:
Mastroid/.config/astroid/config | 3+++
Adunst/.config/dunst/dunstrc | 46++++++++++++++++++++++++++++++++++++++++++++++
Memacs/.emacs.d/init.el | 4++--
Mfish/.config/fish/functions/aur-resync-devel.fish | 2+-
Mfish/.config/fish/functions/aur-update-devel.fish | 3++-
Mi3/.i3/config | 1+
Aisync/.mbsyncrc | 102+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mkitty/.config/kitty/kitty.conf | 15+++++----------
Mmlterm/.mlterm/aafont | 2+-
Mmlterm/.mlterm/main | 6+++---
Mnvim/.config/nvim/init.vim | 13+++++++------
Mst/.st/config.h | 2+-
12 files changed, 174 insertions(+), 25 deletions(-)

diff --git a/astroid/.config/astroid/config b/astroid/.config/astroid/config @@ -78,6 +78,9 @@ }, "thread_view": { "open_html_part_external": "false", + "preferred_type": "plain", + "preferred_html_only": "false", + "allow_remote_when_encrypted": "false", "open_external_link": "xdg-open", "default_save_directory": "~", "indent_messages": "false", diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc @@ -0,0 +1,46 @@ +[global] + font = "Noto Sans 10" + markup = yes + format = "<b>%s</b>\n%b" + sort = yes + indicate_hidden = yes + monitor = 0 + alignment = center + bounce_freq = 0 + show_age_threshold = 60 + word_wrap = yes + ignore_newline = no + geometry = "200x0+6+30" + transparency = 0 + idle_threshold = 120 + follow = mouse + sticky_history = yes + line_height = 0 + separator_height = 2 + padding = 8 + horizontal_padding = 8 + separator_color = "#585858" + startup_notification = false + frame_width = 1 + frame_color = "#383838" + +[shortcuts] + close = ctrl+space + close_all = ctrl+shift+space + history = ctrl+grave + context = ctrl+shift+period + +[urgency_low] + background = "#181818" + foreground = "#E3C7AF" + timeout = 5 + +[urgency_normal] + background = "#181818" + foreground = "#E3C7AF" + timeout = 20 + +[urgency_critical] + background = "#181818" + foreground = "#E3C7AF" + timeout = 0 diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el @@ -134,7 +134,7 @@ '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector - ["#282c34" "#ff6c6b" "#98be65" "#da8548" "#61afef" "#c678dd" "#1f5582" "#abb2bf"]) + ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"]) '(custom-enabled-themes (quote (zerodark))) '(custom-safe-themes (quote @@ -149,4 +149,4 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(default ((t (:family "Fira Code" :foundry "CTDB" :slant normal :weight normal :height 143 :width normal))))) + '(default ((t (:family "Code New Roman" :foundry "CNR " :slant normal :weight normal :height 143 :width normal))))) diff --git a/fish/.config/fish/functions/aur-resync-devel.fish b/fish/.config/fish/functions/aur-resync-devel.fish @@ -1,4 +1,4 @@ function aur-resync-devel - aur sync --list | cut -f2 | grep -E -- "-$AURVCS" | aur sync --no-ver --print - + aur sync --list | cut -f2 | grep -E -- "-$AURVCS" | xargs aur sync --no-ver --print end diff --git a/fish/.config/fish/functions/aur-update-devel.fish b/fish/.config/fish/functions/aur-update-devel.fish @@ -1,3 +1,4 @@ function aur-update-devel - aur vercmp-devel | cut -d: -f1 | aur sync --no-ver-shallow - + aur vercmp-devel | cut -d: -f1 >/tmp/vcs.txt + xargs -a /tmp/vcs.txt aur sync --no-ver-shallow end diff --git a/i3/.i3/config b/i3/.i3/config @@ -139,6 +139,7 @@ for_window [instance="polybar"] gaps inner 0 for_window [instance="mpv"] pixel 0 for_window [instance="^r_x11$"] floating enable +exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent exec --no-startup-id redshift-gtk exec --no-startup-id ~/.fehbg exec --no-startup-id xss-lock -- i3lock -n -i ~/.i3/BG.png diff --git a/isync/.mbsyncrc b/isync/.mbsyncrc @@ -0,0 +1,102 @@ +# Global configuration section +# Values here are used as defaults for any following Channel section that +# doesn't specify them. +Expunge None +Create Both + +MaildirStore local +Path ~/.mail/ +Trash Trash + + +IMAPStore work +Host work.host.com +User tehuser +Pass xxxxxxxx +# Fetch password from gnome-keyring: +#PassCmd "gnome-keyring-query get mail_pw" +# Fetch password from .netrc: +#PassCmd "sed -n -e 's,^machine work\\.host\\.com login tehuser password \\(.*\\),\\1,p' < $HOME/.netrc" +# Fetch password from a gpg-encrypted file: +#PassCmd "gpg --quiet --for-your-eyes-only --decrypt $HOME/imappassword.gpg" +# Fetch password from pwmd (http://pwmd.sourceforge.net/): +#PassCmd "echo -ne 'GET myIsp\\tpassword' | pwmc datafile" +# On Mac OS X, run "KeyChain Access" -- File->New Password Item. Fill out form using +# "Keychain Item Name" http://IMAPSERVER (note: the "http://" is a hack) +# "Account Name" USERNAME +# "Password" PASSWORD +#PassCmd "/usr/bin/security find-internet-password -w -a USERNAME -s IMAPSERVER ~/Library/Keychains/login.keychain" + +Channel work +Master :work: +Slave :local:work +Expunge Slave +Sync PullNew Push + + +IMAPStore personal +Host host.play.com +Port 6789 +RequireSSL no + +Channel personal +Master :personal: +Slave :local:personal +Expunge Both +MaxMessages 150 +MaxSize 200k + +IMAPStore remote +Tunnel "ssh -q host.remote.com /usr/sbin/imapd" + +Channel remote +Master :remote: +Slave :local:remote + + +Group boxes +Channels work personal remote + + +IMAPStore st1 +Host st1.domain.com +RequireCRAM yes +CertificateFile ~/.st1-certificate.crt + +IMAPStore st2 +Host imap.another-domain.com +Path non-standard/ +RequireSSL no +UseTLSv1 no + +Channel rst +Master :st1:somebox +Slave :st2: + + +IMAPAccount server +Host imaps:foo.bar.com +CertificateFile ~/.server-certificate.crt + +IMAPStore server +Account server +MapInbox inbox +Trash ~/trash +TrashRemoteNew yes + +MaildirStore mirror +Path ~/Maildir/ +SubFolders Verbatim + +Channel o2o +Master :server: +Slave :mirror: +Patterns % + +Group partial o2o:inbox,sent-mail,foobar + +# INBOX => server, INBOX.foo => server.foo, etc. +Channel inbox +Master :server:INBOX +Slave :mirror:server +Patterns * diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf @@ -11,32 +11,27 @@ # # You can get a list of full family names available on your computer by running # kitty list-fonts -font_family Fira Code -#italic_font monofur italic -#bold_font spacefurs-mono +font_family Code New Roman +italic_font Code New Roman italic +bold_font Code New Roman bold bold_italic_font auto # Font size (in pts) font_size 14.0 -# The amount the font size is changed by (in pts) when increasing/decreasing -# the font size in a running terminal. -font_size_delta 2 - - # Adjust the cell dimensions. # You can use either numbers, which are interpreted as pixels or percentages # (number followed by %), which are interpreted as percentages of the # unmodified values. You can use negative pixels or percentages less than # 100% to reduce sizes (but this might cause rendering artifacts). -adjust_line_height 0 +adjust_line_height 90% adjust_column_width 0 # Change the sizes of the lines used for the box drawing unicode characters # These values are in pts. They will be scaled by the monitor DPI to arrive at # a pixel value. There must be four values corresponding to thin, normal, thick, # and very thick lines; -box_drawing_scale 0.001, 1, 1.5, 2 +# box_drawing_scale 0.001, 1, 1.5, 2 # The foreground color foreground #a8a8a8 diff --git a/mlterm/.mlterm/aafont b/mlterm/.mlterm/aafont @@ -1,4 +1,4 @@ -DEFAULT=Monofur Nerd Font +DEFAULT=Code New Roman #ISO8859_1=Courier 10 Pitch #ISO8859_2=Thryomanes diff --git a/mlterm/.mlterm/main b/mlterm/.mlterm/main @@ -78,19 +78,19 @@ termtype = mlterm-256color # console_encoding = auto # -- Font -- -fontsize = 22 +fontsize = 16 # font_size_range = 6-30 # step_in_changing_font_size = 1 -# use_point_size = false +use_point_size = true # use_variable_column_width = false # type_engine = cairo -# use_anti_alias = false +# use_anti_alias = true # use_cp932_ucs_for_xft = true diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim @@ -11,9 +11,6 @@ call plug#begin('~/.local/share/nvim/plugged') Plug 'joshdick/onedark.vim' Plug 'itchyny/lightline.vim' -" Syntax highlighting -" Plug 'sheerun/vim-polyglot' - " Filesystem Plug 'scrooloose/nerdtree' Plug 'ctrlpvim/ctrlp.vim' @@ -51,9 +48,6 @@ Plug 'tpope/vim-fugitive' " Camel/Snake case movement Plug 'bkad/CamelCaseMotion' -" Pweave -Plug 'coyotebush/vim-pweave' - call plug#end() " Enable CamelCaseMotion @@ -121,6 +115,11 @@ if !exists('g:deoplete#omni#input_patterns') endif let g:deoplete#omni#input_patterns.tex = g:vimtex#re#deoplete +call deoplete#custom#option('omni_patterns', { + \ 'r': ['[^. *\t]\.\w*', '\h\w*::\w*', '\h\w*\$\w*'], + \}) + + map <C-k> :NERDTreeToggle<CR> set hidden @@ -137,6 +136,8 @@ nnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR> " let R_latexcmd = ['latexmk','-pdf','-pdflatex="lualatex -synctex=1 -interaction=nonstopmode"'] +au BufReadPost APKBUILD set syntax=sh noexpandtab + syntax on colorscheme onedark set noshowmode diff --git a/st/.st/config.h b/st/.st/config.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Monofur Nerd Font:size=16:antialias=true:autohint=true"; +static char *font = "Code New Roman:size=14:antialias=true:autohint=true"; static int borderpx = 2; /*