diff --git a/sh/bashrc b/sh/bashrc index 74bcf9b..0f47252 100644 --- a/sh/bashrc +++ b/sh/bashrc @@ -61,6 +61,17 @@ prompt_command_func() } export PROMPT_COMMAND="prompt_command_func" +# man pages with vim +vman() { + vim -c "SuperMan $*" + + if [ "$?" != "0" ]; then + echo "No manual entry for $*" + fi +} +alias _man="man" +alias man="vman" + # allow a per-device script that is pulled in if [ -a "$HOME/.bashrc_env" ]; then . "$HOME/.bashrc_env" diff --git a/wm/bspwm_config b/wm/bspwm_config index 0f352d5..ccd6d3e 100755 --- a/wm/bspwm_config +++ b/wm/bspwm_config @@ -2,15 +2,17 @@ source "$DOTFILES_PATH/variables.bash" source "$DOTFILES_PATH/scripts/get_color.sh" +source "$DOTFILES_PATH/scripts/get_x_fonts.sh" -bspc config normal_border_color "#$(get_color 05)" -bspc config focused_border_color "#$(get_color 0D)" -bspc config active_border_color "#$(get_color 0D)" -bspc config border_width "$BORDER_WIDTH" -bspc config split_ratio 0.50 -bspc config borderless_monocle true -bspc config gapless_monocle true -bspc config focus_by_distance true +bspc config normal_border_color "#$(get_color 05)" +bspc config focused_border_color "#$(get_color 0D)" +bspc config active_border_color "#$(get_color 0D)" +bspc config presel_feedback_color "#$(get_color 0D)" +bspc config border_width "$BORDER_WIDTH" +bspc config split_ratio 0.50 +bspc config borderless_monocle true +bspc config gapless_monocle true +bspc config focus_by_distance true bspc config window_gap "$WINDOW_GAP" diff --git a/wm/bspwmrc b/wm/bspwmrc index ea8aef5..1af7d77 100755 --- a/wm/bspwmrc +++ b/wm/bspwmrc @@ -3,6 +3,8 @@ source "$DOTFILES_PATH/variables.bash" source "$DOTFILES_PATH/wm/bspwm_config" +source "$DOTFILES_PATH/scripts/get_color.sh" +source "$DOTFILES_PATH/scripts/get_x_fonts.sh" urxvtd & sxhkd & diff --git a/wm/sxhkdrc b/wm/sxhkdrc index 354e8f9..3f89de4 100755 --- a/wm/sxhkdrc +++ b/wm/sxhkdrc @@ -1,20 +1,16 @@ # node manager shortcuts -# kill the node manager +# kill the wm super + ctrl + Escape bspc quit -# kill the current node +# kill the current application super + c bspc node -c -# swap layouts -#super + y -# bspc desktop -l next - # balance node surface area on current desktop super + b - bspc desktop -B + bspc node -B # toggle floating/fullscreen modes for current node super + {s,f} @@ -48,7 +44,7 @@ super + {p,n} # rotate node placement on current desktop super + r - bspc desktop -R 90 + bspc node -R 90 # preselect the splitting area for the current node super + ctrl + {h,j,k,l}