dotfiles/.config/bspwm/bspwmrc

44 lines
865 B
Bash
Executable File

#!/bin/sh
if [ ! -e ~/.bspwm_no_lock ]
then
slock &
touch ~/.bspwm_no_lock
fi
setxkbmap -option ctrl:swapcaps
xset s off -dpms
sxhkd &
picom -b
wmname LG3D
xfce4-screensaver &
~/.fehbg &
killall -q polybar barrier barrierc cbatticon pasystray
polybar m-bar &
cbatticon &
pasystray &
barrier &
bspc monitor -d I II III IV V VI VII
bspc config border_width 2
bspc config window_gap 18
bspc config top_padding -18
bspc config split_ratio 0.52
bspc config borderless_monocle false
bspc config gapless_monocle false
bspc config focused_border_color '#92971a'
bspc rule -a 'firefox:*:Picture-in-Picture' state=floating sticky=on
# bspc rule -a Gimp desktop='^8' state=floating follow=on
# bspc rule -a Chromium desktop='^2'
# bspc rule -a mplayer2 state=floating
# bspc rule -a Kupfer.py focus=on
# bspc rule -a Screenkey manage=off