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
|
# For some keybinds to work properly some scripts from "https://github.com/thei0n/slcf" must be installed
######### General keybinds ##########
#Launch terminal
alt + Return
[ -z $TERMINAL ] && alacritty || $TERMINAL
#Launch browser
alt + shift + Return
[ -z $BROWSER ] && qutebrowser || $BROWSER
#Change wallpaper
alt + shift + v
setwp ~/.config/wallpapers
#Launch terminal alternative
alt + shift + n
[ -z $TERMINAL_ALTERNATIVE ] && kitty || $TERMINAL_ALTERNATIVE
#Kill all the alternative terminal instances
alt + shift + m
[ -z $TERMINAL_ALTERNATIVE ] && killall kitty || killall $TERMINAL_ALTERNATIVE
#Open gruvbox themed dmenu
alt + d
dmenu_run -i -nb '#282828' -nf '#ebdbb2' -sb '#ebdbb2' -sf '#1f222d' -fn 'Roboto:bold:pixelsize=14'
#passmenu
alt+p
passmenu
#Volume buttons
XF86AudioRaiseVolume
sVolume +10
XF86AudioLowerVolume
sVolume -10
XF86AudioMute
sVolume --toggle
#Brightness buttons
XF86MonBrightnessUp
sBrightness +5
XF86MonBrightnessDown
sBrightness -5
#Screenshot
alt + shift + s
sScreenshot
######### BSPWM specific keybinds ##########
#Change workspaces
alt + {_,shift + }{1-9}
bspc {desktop -f,node -d} '^{1-9,10}'
#Change Focus
alt + {h,j,k,l}
bspc node -f {west,south,north,east}
#Reload bspwm
alt + shift + r
bspc wm -r
#Exit bspwm
alt + shift + 0
killall bspwm
#Toggle fullscreen mode
alt + f
bspc node -t fullscreen
#Toggle titled mode
alt + a
bspc node -t tiled
#Toggle floating mode
alt+s
bspc node -t floating
#Move windowns in floating mode
super + shift + {h,j,k,l}
bspc node -v {-20 0,0 20,0 -20,20 0}
#Kill the focused window
alt + shift + q
bspc node -c
# Focus next floating window
alt + space
bspc node -f next.floating
#Expanding the focused node
super + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20, bottom 0 -20, left 20 0}
#moving the focused node
alt + shift + {h,j,k,l}
bspc node -s {west,south,north,east}
alt + r
bspc node @/ -R 90
|