Tanner Babcock

  1. Code

Dotfiles / bspwm/bspwmrc

		#!/bin/sh

SXHKD_FIFO=/tmp/sxhkd-fifo
export SXHKD_FIFO

[ -e "$SXHKD_FIFO" ] && rm "$SXHKD_FIFO"
mkfifo "$SXHKD_FIFO"
sxhkd -s "$SXHKD_FIFO" -c ~/.config/sxhkd/sxhkdrc &

feh --bg-scale ~/.config/bspwm/wallpaper.jpg &

#bspc monitor -d I II III IV V VI VII VIII IX
bspc monitor -d I II III IV V VI

bspc config border_width         1
bspc config window_gap          8

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^5' state=floating
bspc rule -a 'Mozilla Firefox' desktop='^2' state=tiled
bspc rule -a 'Sublime Text 3' desktop='^4' state=tiled
bspc rule -a 'Sublime' desktop='^4' state=tiled
bspc rule -a Thunderbird desktop='^6' state=tiled
bspc rule -a mpv desktop='^3' state=floating focus=on
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

#xbindkeys
xinput --set-prop 14 'libinput Accel Speed' 0.55
xinput --set-prop 14 'libinput Tapping Enabled' 1
xmodmap -e 'keycode 80=Up'
xmodmap -e 'keycode 88=Down'
xmodmap -e 'keycode 83=Left'
xmodmap -e 'keycode 85=Right'

killall polybar
polybar -r -log=error bspbar &
killall compton
compton -b --opengl --blur-background --blur-kern 5x5box --sw-opti &
xrandr --output eDP-1 --brightness 0.7