From 273a33e8535b332afb8b4f697d7d82d36f5b5c3c Mon Sep 17 00:00:00 2001 From: jon Date: Sat, 5 Sep 2020 07:48:13 -0500 Subject: [PATCH] Added terminal transparency for X back and added option to nnn for automatic detailed mode --- bash/.bashrc | 5 +++++ x/.Xresources | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 0a3e21f..b8448b0 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -46,12 +46,17 @@ export GOPATH=$HOME/gopath export PATH=$GOPATH:$GOPATH/bin:$PATH export NNN_SHOW_HIDDEN=1 +# use vimx if available (for clipboard support) if [ -f "/usr/bin/vimx" ]; then export EDITOR=/usr/bin/vimx else export EDITOR=/usr/bin/vim fi +# set nnn options - set detailed mode by default +export NNN_OPTS="d" + + [ -f ~/.fzf.bash ] && source ~/.fzf.bash #ctrl-x, ctrl-e to launch $EDITOR (vim) diff --git a/x/.Xresources b/x/.Xresources index 45e8980..7567347 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -2,9 +2,9 @@ URxvt*scrollBar: false URxvt.font: xft:Terminus:size=14:antialias=true URxvt.boldFont: xft:Terminus:bold:size=14:antialias=true -URxvt*inheritPixmap: false -!URxvt*transparent: false -!URxvt*shading: 5 +URxvt*inheritPixmap: true +URxvt*transparent: true +URxvt*shading: 20 !!! Real transparency (compositing) !urxvt.depth: 32