summaryrefslogtreecommitdiff
path: root/.config/bspwm/bspwmrc
blob: ddea33b95c2b52c9a7a716134ab4398bc6a9858f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /bin/sh

sxhkd &
polybar example &
xcompmgr -c &
emacs --daemon

xdo lower -n polybar

feh --bg-scale ~/Medias/Pictures/wallpaper

xrdb -merge ~/.Xdefaults

bspc monitor -d I II III IV V

bspc config border_width            2
bspc config window_gap              12

bspc config split_ratio             0.52
bspc config borderless_monocle      false
bspc config gapless_monocle         false
bspc config remove_disabled_monitor true

# make CapsLock behave like Ctrl:
setxkbmap -option ctrl:nocaps

# make short-pressed Ctrl behave like Escape:
xcape -e 'Control_L=Escape'

bspc rule -a Zathura:* state=tiled
bspc rule -a *:emacs state=tiled
bspc rule -a *:surf state=tiled
# 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