From 34efd3799ac4187242dd29334fd034acc6e5f025 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 19 Oct 2018 08:27:51 +0200 Subject: [PATCH] Better tab switching, shared dmenu font for pass --- config.h/dwm/config.h | 4 ++-- shell/.bashrc | 1 + vim/.vimrc | 10 +++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config.h/dwm/config.h b/config.h/dwm/config.h index 77868b1..61682ee 100644 --- a/config.h/dwm/config.h +++ b/config.h/dwm/config.h @@ -61,8 +61,8 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *quitcmd[] = { "killall", "xinit", NULL }; -static const char *passmenu[] = { "passmenu", NULL }; -static const char *passmenu_type[] = { "passmenu", "--type", NULL }; +static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *passmenu_type[] = { "passmenu", "--type", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *scr[] = { "scr", NULL }; static const char *scr_sel[] = { "scr", "selection", NULL }; static const char *lock[] = { "slock", NULL }; diff --git a/shell/.bashrc b/shell/.bashrc index e5e5995..51cd06a 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -15,6 +15,7 @@ export SUDO_ASKPASS=/usr/lib/ssh/ssh-askpass export NOTMUCH_CONFIG=~/.config/notmuch/config export CLEAN_HOME=/opt/clean + export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin export PATH=$PATH:/opt/texlive/2018/bin/x86_64-linux:/opt/zotero diff --git a/vim/.vimrc b/vim/.vimrc index 5c63c93..e70d8b5 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,5 @@ " Automaticly source some files after writing autocmd! bufwritepost .vimrc source % -autocmd! bufwritepost .bashrc !source % -autocmd! bufwritepost .Xresources !xrdb -merge % " Some general options syntax enable @@ -33,9 +31,11 @@ set list map j gj map k gk -" Custom split switching using tab -map l l -map h h +" Custom split and tabswitching using tab +map l +map h +map l l +map h h map j j map k k -- 2.20.1