From 3a6483c9b825b6204922f3925dad13d77ce02b23 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 20 Jan 2021 21:22:04 -0500 Subject: housekeeping --- .config/aliasrc | 1 + .config/dunst/dunstrc | 8 ++++---- .config/fontconfig/fonts.conf | 2 ++ .config/newsboat/urls | 2 +- .config/nvim/init.vim | 13 ++++++++++--- .config/sxhkd/sxhkdrc | 3 +++ .xinitrc | 3 ++- 7 files changed, 23 insertions(+), 9 deletions(-) diff --git a/.config/aliasrc b/.config/aliasrc index 1bb4456..72781c0 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -26,6 +26,7 @@ | g | git | | goobook | goobook -c $HOME/.config/goobook/config | | gor | go run *.go | +| info | info --vi-keys | | mmi | make && sudo make install && [ -f config.def.h ] && rm config.h | | op | e main.rnw | | R | R -q | diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index b024aaf..b38e994 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -2,7 +2,7 @@ frame_width = 0 frame_color = "#788388" - Font = Hack Nerd Font Mono 14 + Font = Brutalist Mono 14 # Allow a small subset of html markup: # bold @@ -50,7 +50,7 @@ # Split notifications into multiple lines if they don't fit into # geometry. - word_wrap = no + word_wrap = yes # Ignore newlines '\n' in notifications. ignore_newline = no @@ -282,8 +282,8 @@ [irc] appname = weechat timeout = 0 - background = "#0033bb" - foreground = "#dddddd" + background = "#222d32" + foreground = "#f2f1f0" # [weechat hl] appname = weechat diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index ee20220..b539b38 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -28,6 +28,8 @@ monospace + Brutalist Mono + Cartograph Mono CF Maison Mono Liberation Mono diff --git a/.config/newsboat/urls b/.config/newsboat/urls index e1ef743..a058dc4 100644 --- a/.config/newsboat/urls +++ b/.config/newsboat/urls @@ -44,7 +44,7 @@ https://www.archlinux.org/feeds/news/ "Website" "~Website: Arch https://chausse.xyz/rss.xml "Website" "~Website: My personal Blog" # https://www.ledevoir.com/rss/section/societe/science.xml "Website" "~Website: Le Devoir Sciences" # https://spacenews.com/feed/ "Website" "~Website: SpaceNews" -https://www.macleans.ca/feed/ "Website" "~Website: Macleans" +http://www.usherbrooke.ca/genie/fil/3590/nouvelles.xml "Website" "~Website: USherbrooke GĂ©nie" # #---Facebook---# # https://rss-bridge.bb8.fun/?action=display&bridge=Facebook&context=User&u=LaDebarqueEscalade&media_type=all&limit=-1&format=Atom "Facebook" "~Facebook: La Debarque" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3df54ba..cdcf497 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -25,11 +25,13 @@ Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} " Automated vim bulletpoints Plug 'dkarter/bullets.vim' " Todoist with vim? -Plug 'romgrk/todoist.nvim', { 'do': ':TodoistInstall' } +Plug 'ChausseBenjamin/todoist.nvim', { 'do': ':TodoistInstall' } " LaTeX deoplete Plug 'hisaknown/deoplete-latex' " Turning vim into an R IDE Plug 'jalvesaq/Nvim-R' +" Google cal inside vim +Plug 'itchyny/calendar.vim' " Vim Sensible Plug 'tpope/vim-sensible' " Using vim to compile arduino code @@ -148,6 +150,10 @@ let g:vimtex_view_general_options = '-a zathura' let g:tex_flavor = 'latex' " Vimtex TOC nnoremap :VimtexTocToggle +" Calendar setup +let g:calendar_google_calendar = 1 +let g:calendar_frame = 'default' +source ~/.cache/calendar.vim/credentials.vim " #---Document Compilation/Visualisation---# " " Compile document, be it groff/LaTeX/markdown/etc. @@ -167,8 +173,8 @@ set tabstop=2 set shiftwidth=2 set expandtab " 80 col warning -highlight ColorColumn ctermbg=magenta -call matchadd('ColorColumn', '\%81v', 100) +" highlight ColorColumn ctermbg=magenta +" call matchadd('ColorColumn', '\%81v', 100) " #---Custom Keymaps---# " " Vim split resize @@ -228,6 +234,7 @@ let rout_follow_colorscheme = 0 " Nvim-R folding let r_syntax_folding = 1 set foldnestmax=1 + set foldmethod=marker " Arduino settings let g:arduino_cmd = '/usr/bin/arduino' let g:arduino_dir = '/usr/share/arduino' diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index ea9de01..55ff74f 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -131,6 +131,9 @@ super + w ## TUI Email Client (neomutt) super + e killall neomutt || $TERMINAL -e neomutt && mw -Y +## TUI calendar (calendar.vim) +super + shift + e + $TERMINAL -t calendar -e nvim -c ":Calendar -view=week -first_day=monday" ## TUI RSS Reader (newsboat) super + n killall newsboat || $TERMINAL -e newsboat ; kill -37 $(pidof dwmblocks) diff --git a/.xinitrc b/.xinitrc index 53243c1..69f69ba 100644 --- a/.xinitrc +++ b/.xinitrc @@ -5,7 +5,8 @@ remaps & dunst & unclutter & protonmail-bridge --no-window & -xautolock -time 5 -detectsleep -secure -locker /usr/local/bin/slock & +xautolock -time 5 -detectsleep -secure -locker locktoggle & +cinnamon-screensaver & picom -b & echo "" > $HOME/.local/share/newsboat/queue echo us > $HOME/.cache/layout -- cgit v1.2.3