From 36fc3e7245ceec99c40e5ebe155c17dee9190526 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 18 Nov 2019 22:54:41 +0100 Subject: [PATCH] Add pywal automatic setting on restart --- .config/nvim/init.vim | 6 +++++- .xinitrc | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 80dce1f..1325a93 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -657,8 +657,12 @@ noremap s :FzfBuffers noremap S :FzfHistory noremap f :FzfFiles +" use wiki.vim to look through document outlines in fzf (only for note +" directory atm) +nnoremap l :WikiFzfToc + " FZF general full-text search in cwd with rg -noremap :FzfRg +noremap F :FzfRg " FZF note full-text search with notational-velocity like functions (in wiki " directory) noremap n :NV diff --git a/.xinitrc b/.xinitrc index e9e1c00..e52037e 100644 --- a/.xinitrc +++ b/.xinitrc @@ -65,6 +65,10 @@ type sxhkd >/dev/null 2>&1 && sxhkd & # if greenclip - a clipboard manager, integrated with rofi, is installed, start it up type greenclip >/dev/null 2>&1 && greenclip daemon & +# if pywal is installed, +# -R restores the last colorscheme that was in use. +type wal >/dev/null 2>&1 && wal -R & + # additional config options for Touchpad devices ONLY if [ $(dmesg | grep -c "Touchpad") -gt 0 ]; then # enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop