getting ready for the merge - I'm sure this will end badly

This commit is contained in:
Daniel Flanagan 2017-02-10 11:23:52 -06:00
parent 55aa97f0e0
commit 4b0951b7ab
6 changed files with 25 additions and 10 deletions

View file

@ -8,8 +8,8 @@ export BAR_SIDE_MARGIN=200
export GAP=$(bspc wm -d | grep -Po '(windowGap.*?,)' | grep -Po '\d*' | head -n 1) export GAP=$(bspc wm -d | grep -Po '(windowGap.*?,)' | grep -Po '\d*' | head -n 1)
MONITOR_WIDTH=$(xrandr | grep DVI-I-2 | grep -Po ' \d+' | head -n 1) MONITOR_WIDTH=$(xrandr | grep DVI-I-2 | grep -Po ' \d+' | head -n 1)
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 BAR_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\(.*\)\-.*$/\1/p') export BAR_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\(.*\)\-.*$/\1/p' | head -n 1)
export BAR_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p') export BAR_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
export POS_X=$((GAP + BAR_SIDE_MARGIN)) export POS_X=$((GAP + BAR_SIDE_MARGIN))
export BAR_FONT_DECLARATION="${BAR_FONT}:pixelsize=${BAR_FONT_SIZE};1" export BAR_FONT_DECLARATION="${BAR_FONT}:pixelsize=${BAR_FONT_SIZE};1"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
BORDER_WIDTH=0 BORDER_WIDTH=0 # change in bspwmrc
WINDOW_GAP=25 WINDOW_GAP=25
DESKTOPS=(dev web misc env play out main srv daem util) DESKTOPS=(dev web misc env play out main srv daem util)

View file

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
BORDER_WIDTH=0 # change in bspwm_config, here for launcher
START_BAR=1
BAR_COMMAND="$DOTFILES_PATH/de/bar/bar.bash"
if [[ -z "$XDG_CONFIG_HOME" ]]; then if [[ -z "$XDG_CONFIG_HOME" ]]; then
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
fi fi
@ -21,7 +25,17 @@ if command -v urxvtd >/dev/null 2>&1; then
fi fi
if command -v sxhkd >/dev/null 2>&1; then if command -v sxhkd >/dev/null 2>&1; then
export LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\(.*\)\-.*$/\1/p' | head -n 1)
export LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
export HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*color1*:\s*\(.*\)$/\1/p' | head -n 1)
export BACKGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1)
export FOREGROUND_COLOR=$(xrdb -query | sed -ne 's/.*foreground:\s*\(.*\)$/\1/p' | head -n 1)
# export HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
sxhkd & sxhkd &
fi fi
if [[ $START_BAR -eq 1 ]]; then
${BAR_COMMAND} &
fi
bspc wm -o bspc wm -o

View file

@ -166,7 +166,7 @@ super + shift + Return
# spawn the app launcher # spawn the app launcher
super + space super + space
rofi -show run -font "$PRIMARY_FONT_FAMILY $PRIMARY_FONT_SIZE" -lines 16 -width 10 -padding 8 -fuzzy -bw "$BORDER_WIDTH" -color-enabled -color-window "#$(get_color 00)","#$(get_color 0D)","#$(get_color 0D)","#$(get_color 00)" -color-normal "#$(get_color 00)","#$(get_color 06)","#$(get_color 00)","#$(get_color 0D)","#$(get_color 00)" -separator-style none -hide-scrollbar rofi -show run -font "$LAUNCHER_FONT $LAUNCHER_FONT_SIZE" -lines 16 -width 10 -padding 8 -fuzzy -bw "$BORDER_WIDTH" -color-enabled -color-window "$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$HIGHLIGHT_COLOR","$BACKGROUND_COLOR" -color-normal "$BACKGROUND_COLOR","$FOREGROUND_COLOR","$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$FOREGROUND_COLOR" -separator-style none -hide-scrollbar
# lock the desktop # lock the desktop
super + ctrl + shift + l super + ctrl + shift + l

View file

@ -69,5 +69,5 @@ Here are some bullet points on my workflow as a Web Developer:
## To Do and Improvements ## To Do and Improvements
* Add a file containing common variables in `common/`.
* Add more content to the other sections? * Add more content to the other sections?
* Start refactoring old dotfiles and scripts.

View file

@ -147,7 +147,8 @@ set noexpandtab
set autoindent smartindent set autoindent smartindent
set list set list
set nostartofline set nostartofline
set listchars=trail,tab:\__ set listchars=trail,tab:\ \ ,trail:~
" set listchars=eol:\ ,tab:>-,trail:~,extends:>,precedes:<,space:·
" look and feel " look and feel