dotfiles

Dotfiles for my OpenBSD environment.
Log | Files | Refs

commit cd9548c62ba715b58f5c27019a52c4e3a9af30ab
parent 857a50d01b2d3bf7841ba2af1aff6b2a00b5d2f3
Author: Kenji Matsuda <ftvda283@gmail.com>
Date:   Wed, 23 Jun 2021 13:36:58 +0900

tune for bsd

Diffstat:
M.bash_profile | 7+++++--
M.config/X11/xinitrc | 2+-
D.config/mutt/muttrc.bu | 40----------------------------------------
M.config/mutt/password.gpg | 0
M.config/newsboat/urls | 27+++------------------------
M.config/nvim/init.vim | 5+++--
6 files changed, 12 insertions(+), 69 deletions(-)

diff --git a/.bash_profile b/.bash_profile @@ -5,17 +5,20 @@ # ~/ clean up: export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" +export XDG_DATA_HOME="$HOME/.local/share" [ ! -d $XDG_CONFIG_HOME ] && mkdir -p $XDG_CONFIG_HOME [ ! -d $XDG_CACHE_HOME ] && mkdir -p $XDG_CACHE_HOME +[ ! -d $XDG_DATA_HOME ] && mkdir -p $XDG_DATA_HOME export PATH="$PATH:$HOME/.local/bin" export EDITOR=vi export TERMINAL=st export HISTFILE="$XDG_CACHE_HOME/.sh_history" -export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" +export X11HOME="$XDG_CONFIG_HOME/X11" +export XINITRC="$X11HOME/xinitrc" export XAUTHORITY="$XDG_CACHE_HOME/X11/Xauthority" -[ ! -d $XDG_CONFIG_HOME/X11 ] && mkdir -p $XDG_CONFIG_HOME/X11 +[ ! -d $X11HOME ] && mkdir -p $X11HOME [ ! -d $XDG_CACHE_HOME/X11 ] && mkdir -p $XDG_CACHE_HOME/X11 #gnupg export GNUPGHOME="$XDG_CONFIG_HOME/gnupg" diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -16,6 +16,6 @@ export GTK_IM_MODULE=uim export GTK3_IM_MODULE=uim #uim-xim & -unclutter --timeout 1 --ignore-scrolling & +#unclutter --timeout 1 --ignore-scrolling & dwmblocks & exec dwm diff --git a/.config/mutt/muttrc.bu b/.config/mutt/muttrc.bu @@ -1,40 +0,0 @@ -source "gpg -d ~/.config/mutt/password.gpg |" #パスワードの読み込み - -set realname = "Matsuda Kenji" -set hostname = "gmail.com" -set from = "ftvda283@gmail.com" - -#送信設定 -set folder = "imaps://ftvda283@gmail.com@imap.gmail.com:993" -set smtp_url = "smtp://ftvda283@gmail.com@smtp.gmail.com:587" -set imap_user = "ftvda283@gmail.com" - -#フォルダ設定 -set spoolfile = "+INBOX" -#set record = "+[Gmail]/Sent Mail" -unset record -set trash = "+[Gmail]/Trash" -set postponed = "+[Gmail]/Drafts" -#mailboxes =INBOX =[Gmail]/Sent\ Mail =[Gmail]/Drafts =[Gmail]/Spam =[Gmail]/Trash -named-mailboxes "inbox" =INBOX "sent" =[Gmail]/Sent\ Mail "drafts" =[Gmail]/Drafts "spam" =[Gmail]/Spam "trash" =[Gmail]/Trash -set sort=reverse-date - -#セキュリティ設定 -set ssl_starttls = yes -set ssl_force_tls = yes - -#基本設定 -set editor = "vim" -set charset = "utf-8" -set certificate_file = "./certificates" -set mailcap_path = "~/.config/mutt/mailcap" -auto_view text/html -set sidebar_visible - -# Vim like binds -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 diff --git a/.config/mutt/password.gpg b/.config/mutt/password.gpg Binary files differ. diff --git a/.config/newsboat/urls b/.config/newsboat/urls @@ -1,31 +1,10 @@ https://lukesmith.xyz/rss.xml https://notrelated.xyz/rss https://videos.lukesmith.xyz/feeds/videos.xml?sort=-publishedAt&filter=local -http://rssblog.ameba.jp/treehugnazuna/rss20.xml -https://p-jisoku.com/feed/ -https://nostalblue.tumblr.com/rss -https://ron2012simplelife.blog.fc2.com/?xml -https://clife.cf/rss.xml -http://rssblog.ameba.jp/kominka-kenhokunagasaki/rss20.xml -https://satoyama-shiina.com/feed/ -https://blog.goo.ne.jp/leaderjuon/rss2.xml -https://www.youtube.com/feeds/videos.xml?user=TheStandardJournal youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCExoD6BaC8Pj45SB92iS1Wg youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCGL2699xGK-6p0AAnTVS5-g youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCU-TOIyElBGT0ma31bC3d4A youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCTxDz8sXbnpYAfulQMRFNEQ youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCdXRKbNYJ9lKmqErX6KDNFw youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCJ01V3_kWWEYB9Dpzk5FiGg youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCcAy1o8VUCkdowxRYbc0XRw youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCgVRISJeNusnxbYad3vfajg youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCfLxE7Xa4jVA_MBYxh0LBiw youtube -https://blog.ap.teacup.com/hinobudo/rss.xml -https://investors-guide.net/feed/ +https://www.youtube.com/feeds/videos.xml?channel_id=UCExoD6BaC8Pj45SB92iS1Wg +https://www.youtube.com/feeds/videos.xml?channel_id=UCgVRISJeNusnxbYad3vfajg https://suckless.org/atom.xml https://blog.eniehack.net/atom.xml https://www.romanzolotarev.com/rss.xml -https://www.youtube.com/feeds/videos.xml?channel_id=UCL7VEatXa9yBCKeM-ww8TnA youtube +https://www.youtube.com/feeds/videos.xml?channel_id=UCL7VEatXa9yBCKeM-ww8TnA https://archlinux.org/feeds/news/ -https://www.youtube.com/feeds/videos.xml?channel_id=UCHcqA3nQ5JYkZJcUH_D0A1w youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCetBfD1KL_lRFm_3NdCn2hw youtube -https://www.youtube.com/feeds/videos.xml?channel_id=UCcFW4sgxgc1pb5ssbNw9hsg youtube diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -4,7 +4,7 @@ set encoding=utf-8 set number set shiftwidth=4 set tabstop=4 -set ambiwidth=double +"set ambiwidth=double if !isdirectory(expand("$XDG_CACHE_HOME/nvim/undodir")) call mkdir(expand("$XDG_CACHE_HOME/nvim/undodir"), "p") endif @@ -30,7 +30,8 @@ imap <right> <nop> "eskk.vim let eskk#dictionary='~/.config/skk/skk-vim-jisyo' -let eskk#large_dictionary='/usr/share/skk/SKK-JISYO.L' +let eskk#large_dictionary='/usr/local/share/skk/SKK-JISYO.L' +let eskk#egg_like_newline=1 "html tag autocmd Filetype html inoremap ;com <!-- --><Esc>3hi