Prep for adding dunst, add print screen hotkey
This commit is contained in:
parent
029168da76
commit
7cad2202ff
|
@ -144,6 +144,7 @@ Plug 'elixir-lang/vim-elixir', {'for': ['elixir']}
|
||||||
Plug 'mattn/emmet-vim', {'for': ['html']}
|
Plug 'mattn/emmet-vim', {'for': ['html']}
|
||||||
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
|
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
|
||||||
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
|
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 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}
|
||||||
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
|
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
|
||||||
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}
|
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}
|
||||||
|
|
|
@ -27,7 +27,12 @@ fi
|
||||||
export BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN))
|
export BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN))
|
||||||
export POS_X=$((GAP + 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
|
if [ $BAR_ON_TOP -eq 1 ]; then
|
||||||
export BAR_BOTTOM="false"
|
export BAR_BOTTOM="false"
|
||||||
|
|
10
de/dunst/build_config.bash
Executable file
10
de/dunst/build_config.bash
Executable 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"
|
|
@ -226,6 +226,9 @@ super + ctrl + {alt +,_} Escape
|
||||||
{bspc wm -d > "$BSPWM_STATE_FILE" && bspc quit, \
|
{bspc wm -d > "$BSPWM_STATE_FILE" && bspc quit, \
|
||||||
bspc quit 1}
|
bspc quit 1}
|
||||||
|
|
||||||
|
Print
|
||||||
|
scrot
|
||||||
|
|
||||||
# make sxhkd reload its configuration files:
|
# make sxhkd reload its configuration files:
|
||||||
super + Escape
|
super + Escape
|
||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
Reference in a new issue