From b37d79f1a7dceff4b1eb4666d6f8f151206e9a99 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Sun, 5 May 2019 21:39:20 -0400 Subject: minor update --- dwm/dwm/config.def.h | 2 +- profile/.bashrc | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dwm/dwm/config.def.h b/dwm/dwm/config.def.h index 3dd4584..58c9148 100644 --- a/dwm/dwm/config.def.h +++ b/dwm/dwm/config.def.h @@ -83,7 +83,7 @@ static const char *single_screen[] = { "screen.sh", "l", NULL }; static const char *shutdown[] = { "shutdown", "now", NULL }; static const char *suspend[] = { "lock.sh", "&&", "systemctl", "suspend", NULL }; static const char scratchpadname[] = "scratchpad"; -static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; +static const char *scratchpadcmd[] = { "st", "-c", scratchpadname, "-g", "120x34", NULL }; static const char *termcmd[] = { "st", NULL }; static const char *togglemute[] = { "pamixer", "--allow-boost", "-t", NULL }; static const char *visualizer[] = { "st", "-e", "ncmpcpp", "-s", "visualizer", NULL }; diff --git a/profile/.bashrc b/profile/.bashrc index a6634bf..2f8e3ed 100644 --- a/profile/.bashrc +++ b/profile/.bashrc @@ -9,6 +9,12 @@ export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput se export PATH=$PATH:~/.vim/bin shopt -s autocd +source /usr/share/fzf/key-bindings.bash +source /usr/share/fzf/completion.bash + +export FZF_DEFAULT_OPTS="--preview '( +highlight -O ansi -l {} || +cat {} || tree -C {}) 2> /dev/null | head -200' --bind '?:toggle-preview'" #Basic Aliases alias v="vim" -- cgit v1.2.3