all repos

dotfiles @ 4f7f44d7f434f0702b2dc8a2108f9b3139dbb56e

my dotfiles

spectrwm.conf (view raw)

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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
modkey = Mod4

# Autostart
autorun = ws[1]:setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
autorun = ws[1]:nitrogen --restore
autorun = ws[1]:picom -b

# Program 
program[term] = kitty
program[browser] = firefox
program[dmenu] = dmenu_run -h 18 -p Run
program[menu] = j4-dmenu-desktop --dmenu="dmenu -h 18 -p Run"
program[edit-config] = ~/.script/dmenu/dmenu-config-edit.sh -h 18
program[power-menu] = ~/.script/dmenu/dmenu-power.sh -h 18
program[passmenu] = passmenu -h 18 -p Password
program[filemanager] = pcmanfm
program[codeeditor] = gnvim

# User keybindings
bind[term] = MOD+Return
bind[menu] = MOD+Shift+Return
bind[dmenu] = MOD+Shift+apostrophe
bind[browser] = MOD+F2
bind[codeeditor] = MOD+F3
bind[filemanager] = MOD+F4
bind[edit-config] = MOD+Control+U
bind[passmenu] = MOD+Control+i
bind[power-menu] = MOD+Escape


# Volume keys
program[volumeplus] = pulseaudio-ctl up
program[volumeminu] = pulseaudio-ctl down
program[volumemute] = pulseaudio-ctl mute
bind[volumeplus] = MOD+equal
bind[volumeminu] = MOD+minus
bind[volumemute] = MOD+Shift+minus

# Workspace
workspace_limit = 9
focus_mode = follow
focus_close	= last
focus_close_wrap = 1
focus_default = first
spawn_position = next
workspace_clamp = 0
warp_focus = 1
warp_pointer = 1

name = ws[1]:term
name = ws[2]:www
name = ws[3]:dev
name = ws[4]:sys
name = ws[5]:doc
name = ws[6]:chat
name = ws[7]:pass
name = ws[8]:mus
name = ws[9]:flo

# Window Decoration
border_width = 2
color_focus = rgb:00/8D/CD
color_focus_maximized = rgb:00/8D/CD
color_unfocus = rgb:CE/D4/DA
color_unfocus_maximized	= rgb:CE/D4/DA
region_padding = 0 
tile_gap = 0

# Bar Settings
bar_action              = ~/.script/spectrwm-bar.sh
bar_delay               = 0
bar_action_expand       = 1
bar_enabled	        	= 1
bar_border_width	    = 0
bar_border[1]	    	= rgb:28/2A/36
bar_border_unfocus[1]	= rgb:CE/D4/DA
bar_color[1]	    	= rgb:26/2A/2B
bar_color_selected[1]	= rgb:00/80/80
bar_font_color[1]   	= rgb:FF/FF/FF, rgb:CE/D4/DA, rgb:C6/78/DD, rgb:FF/6C/6B, rgb:EC/BE/7B, rgb:51/AF/EF
bar_font_color_selected	= black
bar_font	        	= Jatbrains Mono:size=12, FontAwesome
bar_font_pua            = FontAwesome
bar_format	        	= +|L+1<+I +D +@fg=1;+W +|R+A+1<+@fg=5;  %d.%m.%y   %R
workspace_indicator 	= listactive,markcurrent
bar_justify	        	= center
stack_enabled	    	= 1
iconic_enabled      	= 1
window_class_enabled	= 1
window_instance_enabled	= 1
window_name_enabled 	= 1
verbose_layout	    	= 1
urgent_enabled	    	= 1

# Window keys
bind[width_grow]	= MOD+Control+l
bind[width_shrink]	= MOD+Control+h
bind[height_grow]	= MOD+Control+j
bind[height_shrink]	= MOD+Control+k
bind[master_grow]	= MOD+Control+l
bind[master_shrink]	= MOD+Control+h
#bind[swap_next]		= MOD+Shift+j
#bind[swap_prev]		= MOD+Shift+k

# WM keys
bind[wind_kill]     = MOD+q
bind[restart]       = MOD+Control+r
bind[cycle_layout]	= MOD+space
bind[float_toggle]	= MOD+t
bind[focus_main]	= MOD+m
bind[focus_next]	= MOD+j
bind[focus_next]	= MOD+Tab
bind[focus_prev]	= MOD+k
bind[focus_urgent]	= MOD+u
bind[iconify]		= MOD+w
bind[initscr]		= MOD+Shift+i
bind[master_add]	= MOD+Shift+comma
bind[master_del]	= MOD+Shift+period
bind[ws_1]		    = MOD+1
bind[ws_2]		    = MOD+2
bind[ws_3]		    = MOD+3
bind[ws_4]		    = MOD+4
bind[ws_5]		    = MOD+5
bind[ws_6]	    	= MOD+6
bind[ws_7]	    	= MOD+7
bind[ws_8]  		= MOD+8
bind[ws_9]		    = MOD+9
bind[mvws_1]		= MOD+Shift+1
bind[mvws_2]		= MOD+Shift+2
bind[mvws_3]		= MOD+Shift+3
bind[mvws_4]		= MOD+Shift+4
bind[mvws_5]		= MOD+Shift+5
bind[mvws_6]		= MOD+Shift+6
bind[mvws_7]		= MOD+Shift+7
bind[mvws_8]		= MOD+Shift+8
bind[mvws_9]		= MOD+Shift+9

# Unbind
bind[] = MOD+x
bind[] = MOD+p
bind[] = MOD+w
bind[] = MOD+Down
bind[] = MOD+Left
bind[] = MOD+Right
bind[] = MOD+Up
bind[] = MOD+Shift+Right
bind[] = MOD+Shift+Left
bind[] = MOD+Shift+Down
bind[] = MOD+Shift+Up
bind[] = MOD+v
bind[] = MOD+Shift+v
bind[] = MOD+Shift+w
bind[] = MOD+Shift+backslash
bind[] = MOD+s
bind[] = MOD+Shift+s
bind[] = MOD+f
bind[] = MOD+Shift+period
bind[] = MOD+Shift+End
bind[] = MOD+Shift+Down
bind[] = MOD+Shift+Next
bind[] = MOD+Shift+Left
bind[] = MOD+Shift+Begin
bind[] = MOD+Shift+Right
bind[] = MOD+Shift+Home
bind[] = MOD+Shift+Up
bind[] = MOD+Shift+Prior
bind[] = MOD+Shift+j
bind[] = MOD+Shift+l
bind[] = MOD+Shift+h
bind[] = MOD+Shift+k
bind[] = MOD+e