Prep for adding dunst, add print screen hotkey

This commit is contained in:
Daniel Flanagan 2017-04-20 08:16:02 -05:00
parent 029168da76
commit 7cad2202ff
5 changed files with 21 additions and 1 deletions

View File

@ -144,6 +144,7 @@ Plug 'elixir-lang/vim-elixir', {'for': ['elixir']}
Plug 'mattn/emmet-vim', {'for': ['html']}
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
Plug 'mustache/vim-mustache-handlebars', {'for': ['html.handlebars', 'handlebars', 'hbs']}
" Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}

View File

@ -27,7 +27,12 @@ fi
export BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN))
export POS_X=$((GAP + BAR_SIDE_MARGIN))
EHEIGHT=$((BAR_HEIGHT + GAP))
export EHEIGHT=$((BAR_HEIGHT + GAP))
# if we just want the variables set here, pass an argument
if [ $# -gt 0 ]; then
return
fi
if [ $BAR_ON_TOP -eq 1 ]; then
export BAR_BOTTOM="false"

10
de/dunst/build_config.bash Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
source "$DOTFILES_PATH/de/bar/bar.bash" --just-vars=1
export BG_COLOR=$(xrdb -query | sed -ne 's/.*color0:\s*\(.*\).*$/\1/p' | head -n 1)
export FG_COLOR=$(xrdb -query | sed -ne 's/.*color7:\s*\(.*\).*$/\1/p' | head -n 1)
envsubst < "$DIR/dunst-config.dev.h.template" > "$DIR/config.dev.h"

View File

@ -226,6 +226,9 @@ super + ctrl + {alt +,_} Escape
{bspc wm -d > "$BSPWM_STATE_FILE" && bspc quit, \
bspc quit 1}
Print
scrot
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd

View File

@ -77,3 +77,4 @@ Here are some bullet points on my workflow as a Web Developer:
## To Do and Improvements
* Unify all the common variables... somehow?
* Dunst and notifications