aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm/dwm/config.def.h2
-rw-r--r--profile/.bashrc6
2 files changed, 7 insertions, 1 deletions
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"