guest@dotshare [~/groups/wms/bspwm] $ ls H4x4g0N/ | cat

H4x4g0N (scrot) (+3 likes)

H4x4g0N Jan 15, 2017 (wms/bspwm)

bspwmrc(raw, dl)

SCROT

 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
bspc config top_padding 8
bspc config bottom_padding 13
bspc config border_width 1
bspc config window_gap 2
bspc config split_ratio          0.5
bspc config borderless_monocle   true
bspc config gapless_monocle      true
bspc config pointer_modifier
bspc config focus_follows_pointer   true
bspc config normal_border_color "#000000"
bspc config focused_border_color "#B9002F"
bspc config presel_feedback_color "#51c4d4"
bspc monitor -d I II III IV V VI VII

# [Rules for applications]

bspc rule -a Thunar desktop=^1 focus=on
bspc rule -a Firefox desktop=^2 focus=on
bspc rule -a Chromium desktop=^2 focus=on
bspc rule -a lxappearance desktop^5 state=floating center=true
bspc rule -a Gimp desktop=^7 floating=on follow=on
bspc rule -a termite floating=on
bspc rule -a Nitrogem floating=on
bspc rule -a viewnior floating=on center=true
bspc rule -a feh floating=on center=true
bspc rule -a Wps desktop=^7
bspc rule -a Bleachbit desktop=^7 floating=on
#bspc rule -a onboard floating=on
bspc rule -a mpv desktop=^5 fullscreen=on
bspc rule -a Spotify desktop=^5 focus=on
bspc rule -a virtualbox desktop=^5 floating=on
bspc rule -a galculator floating=on
bspc rule -a genymotion desktop=^6 floating=on

panel &
dzenbar.sh &

CLICK TO VIEW

x

sxhkdrc(raw, dl)

  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
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#------------------------------------------------
#-- Config sxhkdrc by: H4x4g0N
#------------------------------------------------
#-- BSPWM HOTKEYS:
#------------------------------------------------
#-- CLOSE AND KILL WINDOW:
#------------------------------------------------

alt + {_,shift + }q
	bspc node -{c,k}

#------------------------------------------------
#-- CYCLE LAYOUT:
#------------------------------------------------

alt + m
	bspc desktop -l next

#------------------------------------------------
#-- BALANCE WINDOWS - SAME AREA:
#------------------------------------------------

alt + b
	bspc desktop -B

#------------------------------------------------
#-- SET FLOATING OR FULLSCREEN:
#------------------------------------------------

alt + {t,shift + t,s,f}
	bspc node -t {tiled,pseudo_tiled,floating,fullscreen}


#------------------------------------------------
#-- SWAP DESKTOPS WITH LAST:
#------------------------------------------------

alt + apostrophe
	bspc window -s last

alt + {o,i}
	bspc wm -h off; \
	bspc node {older,newer} -f; \
	bspc wm -h on

alt + {grave,Tab}
	bspc {window,desktop} -f last

alt + y
	bspc window -w last.manual

#-------------------------------------------------
#-- SWAP CURRENT WINDOW WITH THE BIGGEST ON SCREEN:
#-------------------------------------------------

alt + n
	bspc window -s biggest

alt + {_,shift + }{j,k,i,l}
	bspc window -{f,s} {left,down,up,right}



#------------------------------------------------
#-- ROTATE TREE:
#------------------------------------------------

alt + shift + r  
	bspc desktop -R 90

#------------------------------------------------
#-- CYCLE WINDOW FORWARD OR BACKWARD:
#------------------------------------------------

alt + {_,shift + }c
        bspc node -f {next,prev}.local

alt + {a,d}
	bspc desktop -f {prev,next}

#------------------------------------------------
#-- SELECT WHERE TO SPLIT:
#------------------------------------------------

alt + ctrl + {Left,Down,Up,Right}
	bspc window -p {left,down,up,right}

#------------------------------------------------
#-- CANCEL PRESELECT SPLIT:
#------------------------------------------------

alt + {Left,Down,Up,Right}
	bspc node -v {-20 0,0 20,0 -20,20 0}


#------------------------------------------------
#-- SEND WINDOW TO DESKTOP:
#------------------------------------------------

alt + {_,shift + }{1-9,0}
	bspc {desktop -f,node -d} '^{1-9,10}'


#------------------------------------------------
#-- MOVER E REDIMENSIONAR JANELAS COM O MOUSE:
#------------------------------------------------

~button1
	bspc pointer -g focus

alt + button{1-3}
	bspc pointer -g {move,resize_side,resize_corner}

alt + !button{1-3}
	bspc pointer -t %i %i

alt + @button{1-3}
	bspc pointer -u

#------------------------------------------------
#-- WM INDEPENDENT HOTKEYS:
#------------------------------------------------

alt + Return
	termite

alt + control + f
	firefox

alt + control + m
	{termite -e mutt}

alt + r
	{termite -e ranger}

alt + {F1,F2}
  {amixer sset Master playback 5%+,amixer sset Master playback 5%-}


alt + F5
  amixer sset Master toggle

alt + p
	rofi -show run -width 400 -lines 5 -font "Pragmatapro 9" -hide-scrollbar -glob -$



#------------------------------------------------
#-- MAKE sxhkd RELOAD ITS CONFIGURATION FILES:
#------------------------------------------------

alt + Escape
	pkill -x panel; bspc quit

#super + Escape
#	pkill -USR1 -x sxhkd
 

x

Notes

Inspiration for this config: http://transienceband.deviantart.com/art/arch-awesome-December-2013-417875346

My bspwm shot date 06/01/2017

The bottom bar is made by dzen2 with conky, if you need my config from the bottom bar for your personal use, please send me one pm I’ll get in touch with you ;)

My Facebook: https://www.facebook.com/profile.php?id=100004839914949