Skip to content

Commit d77eb76

Browse files
committed
Change vim, bspwm, rofi, alacritty, polybar config
1 parent c9cdf1f commit d77eb76

25 files changed

+314
-259
lines changed

config/alacritty/alacritty.yml

Lines changed: 135 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,86 @@
44
# environment variables. Some entries may override variables
55
# set by alacritty itself.
66
env:
7-
# TERM variable
8-
#
9-
# This value is used to set the `$TERM` environment variable for
10-
# each instance of Alacritty. If it is not present, alacritty will
11-
# check the local terminfo database and use `alacritty` if it is
12-
# available, otherwise `xterm-256color` is used.
13-
TERM: st-256color
7+
TERM: xterm-256color
148

159
window:
16-
# Window dimensions (changes require restart)
17-
#
18-
# Specified in number of columns/lines, not pixels.
19-
# If both are `0`, this setting is ignored.
20-
#dimensions:
21-
# columns: 0
22-
# lines: 0
10+
dimensions:
11+
columns: 90
12+
lines: 25
13+
14+
padding:
15+
x: 0
16+
y: 0
17+
18+
dynamic_padding: true
19+
20+
scrolling:
21+
# Maximum number of lines in the scrollback buffer.
22+
# Specifying '0' will disable scrolling.
23+
history: 10000
24+
25+
key_bindings:
26+
- { key: Return, mods: Shift, chars: "\x1b[13;2u" }
27+
28+
font:
29+
normal:
30+
family: SauceCodePro Nerd Font Mono
31+
style: Regular
32+
33+
bold:
34+
family: SauceCodePro Nerd Font Mono
35+
style: Bold
36+
37+
italic:
38+
family: SauceCodePro Nerd Font Mono
39+
style: Italic
40+
41+
bold_italic:
42+
family: SauceCodePro Nerd Font Mono
43+
style: Bold Italic
44+
45+
size: 11.0
46+
47+
colors:
48+
# Default colors
49+
primary:
50+
background: '0x181818'
51+
foreground: '0xd8d8d8'
52+
53+
# Colors the cursor will use if `custom_cursor_colors` is true
54+
cursor:
55+
text: '0x181818'
56+
cursor: '0xd8d8d8'
57+
58+
# Normal colors
59+
normal:
60+
black: '0x181818'
61+
red: '0xab4642'
62+
green: '0xa1b56c'
63+
yellow: '0xf7ca88'
64+
blue: '0x7cafc2'
65+
magenta: '0xba8baf'
66+
cyan: '0x86c1b9'
67+
white: '0xd8d8d8'
68+
69+
# Bright colors
70+
bright:
71+
black: '0x585858'
72+
red: '0xab4642'
73+
green: '0xa1b56c'
74+
yellow: '0xf7ca88'
75+
blue: '0x7cafc2'
76+
magenta: '0xba8baf'
77+
cyan: '0x86c1b9'
78+
white: '0xf8f8f8'
79+
80+
indexed_colors:
81+
- { index: 16, color: '0xdc9656' }
82+
- { index: 17, color: '0xa16946' }
83+
- { index: 18, color: '0x282828' }
84+
- { index: 19, color: '0x383838' }
85+
- { index: 20, color: '0xb8b8b8' }
86+
- { index: 21, color: '0xe8e8e8' }
2387

2488
# Window position (changes require restart)
2589
#
@@ -29,16 +93,6 @@ window:
2993
# x: 0
3094
# y: 0
3195

32-
# Window padding (changes require restart)
33-
#
34-
# Blank space added around the window in pixels. This padding is scaled
35-
# by DPI and the specified value is always added at both opposing sides.
36-
padding:
37-
x: 9
38-
y: 7
39-
40-
# Spread additional padding evenly around the terminal content.
41-
#dynamic_padding: false
4296

4397
# Window decorations
4498
#
@@ -78,10 +132,10 @@ window:
78132
# Set this to `None` to use the default theme variant.
79133
#gtk_theme_variant: None
80134

81-
scrolling:
135+
# scrolling:
82136
# Maximum number of lines in the scrollback buffer.
83137
# Specifying '0' will disable scrolling.
84-
history: 10000
138+
# history: 10000
85139

86140
# Number of lines the viewport will move for every line scrolled when
87141
# scrollback is enabled (history > 0).
@@ -100,56 +154,24 @@ scrolling:
100154
#tabspaces: 8
101155

102156
# Font configuration
103-
font:
104-
# Normal (roman) font face
105-
normal:
106-
# Font family
107-
#
108-
# Default:
109-
# - (macOS) Menlo
110-
# - (Linux/BSD) monospace
111-
# - (Windows) Consolas
112-
family: SauceCodePro Nerd Font Mono
157+
# font:
158+
# normal:
159+
# family: SauceCodePro Nerd Font Mono
160+
# style: Regular
113161

114-
# The `style` can be specified to pick a specific face.
115-
style: Regular
162+
# bold:
163+
# family: SauceCodePro Nerd Font Mono
164+
# style: Bold
116165

117-
# Bold font face
118-
bold:
119-
# Font family
120-
#
121-
# If the bold family is not specified, it will fall back to the
122-
# value specified for the normal font.
123-
family: SauceCodePro Nerd Font Mono
166+
# italic:
167+
# family: SauceCodePro Nerd Font Mono
168+
# style: Italic
124169

125-
# The `style` can be specified to pick a specific face.
126-
style: Bold
170+
# bold_italic:
171+
# family: SauceCodePro Nerd Font Mono
172+
# style: Bold Italic
127173

128-
# Italic font face
129-
italic:
130-
# Font family
131-
#
132-
# If the italic family is not specified, it will fall back to the
133-
# value specified for the normal font.
134-
family: SauceCodePro Nerd Font Mono
135-
136-
# The `style` can be specified to pick a specific face.
137-
style: Italic
138-
139-
# Bold italic font face
140-
bold_italic:
141-
# Font family
142-
#
143-
# If the bold italic family is not specified, it will fall back to the
144-
# value specified for the normal font.
145-
#family: monospace
146-
family: SauceCodePro Nerd Font Mono
147-
148-
# The `style` can be specified to pick a specific face.
149-
style: Bold Italic
150-
151-
# Point size
152-
size: 11.0
174+
# size: 11.0
153175

154176
# Offset is the extra space around each character. `offset.y` can be thought of
155177
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@@ -263,46 +285,46 @@ font:
263285

264286
# Base16 Default Dark 256 - alacritty color config
265287
# Chris Kempson (http://chriskempson.com)
266-
colors:
267-
# Default colors
268-
primary:
269-
background: '0x181818'
270-
foreground: '0xd8d8d8'
271-
272-
# Colors the cursor will use if `custom_cursor_colors` is true
273-
cursor:
274-
text: '0x181818'
275-
cursor: '0xd8d8d8'
276-
277-
# Normal colors
278-
normal:
279-
black: '0x181818'
280-
red: '0xab4642'
281-
green: '0xa1b56c'
282-
yellow: '0xf7ca88'
283-
blue: '0x7cafc2'
284-
magenta: '0xba8baf'
285-
cyan: '0x86c1b9'
286-
white: '0xd8d8d8'
287-
288-
# Bright colors
289-
bright:
290-
black: '0x585858'
291-
red: '0xab4642'
292-
green: '0xa1b56c'
293-
yellow: '0xf7ca88'
294-
blue: '0x7cafc2'
295-
magenta: '0xba8baf'
296-
cyan: '0x86c1b9'
297-
white: '0xf8f8f8'
298-
299-
indexed_colors:
300-
- { index: 16, color: '0xdc9656' }
301-
- { index: 17, color: '0xa16946' }
302-
- { index: 18, color: '0x282828' }
303-
- { index: 19, color: '0x383838' }
304-
- { index: 20, color: '0xb8b8b8' }
305-
- { index: 21, color: '0xe8e8e8' }
288+
# colors:
289+
# # Default colors
290+
# primary:
291+
# background: '0x181818'
292+
# foreground: '0xd8d8d8'
293+
294+
# # Colors the cursor will use if `custom_cursor_colors` is true
295+
# cursor:
296+
# text: '0x181818'
297+
# cursor: '0xd8d8d8'
298+
299+
# # Normal colors
300+
# normal:
301+
# black: '0x181818'
302+
# red: '0xab4642'
303+
# green: '0xa1b56c'
304+
# yellow: '0xf7ca88'
305+
# blue: '0x7cafc2'
306+
# magenta: '0xba8baf'
307+
# cyan: '0x86c1b9'
308+
# white: '0xd8d8d8'
309+
310+
# # Bright colors
311+
# bright:
312+
# black: '0x585858'
313+
# red: '0xab4642'
314+
# green: '0xa1b56c'
315+
# yellow: '0xf7ca88'
316+
# blue: '0x7cafc2'
317+
# magenta: '0xba8baf'
318+
# cyan: '0x86c1b9'
319+
# white: '0xf8f8f8'
320+
321+
# indexed_colors:
322+
# - { index: 16, color: '0xdc9656' }
323+
# - { index: 17, color: '0xa16946' }
324+
# - { index: 18, color: '0x282828' }
325+
# - { index: 19, color: '0x383838' }
326+
# - { index: 20, color: '0xb8b8b8' }
327+
# - { index: 21, color: '0xe8e8e8' }
306328

307329
# Visual Bell
308330
#
@@ -577,7 +599,7 @@ colors:
577599
# binding with the same triggers is defined. To unset a default binding, it can
578600
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
579601
# a no-op if you do not wish to receive input characters for that binding.
580-
#key_bindings:
602+
# key_bindings:
581603
# (Windows, Linux, and BSD only)
582604
#- { key: V, mods: Control|Shift, action: Paste }
583605
#- { key: C, mods: Control|Shift, action: Copy }

config/bspwm/bspwmrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bspc config focus_follows_pointer true
1414

1515
bspc config split_ratio 0.52
1616
bspc config borderless_monocle true
17-
bspc config gapless_monocle false
17+
bspc config gapless_monocle true
1818

1919
# Border colors
2020
bspc config normal_border_color "#181818"
@@ -27,10 +27,12 @@ bspc rule -a Chromium desktop='^2'
2727
bspc rule -a mplayer2 state=floating
2828
bspc rule -a Kupfer.py focus=on
2929
bspc rule -a Screenkey manage=off
30+
bspc rule -a Alacritty state=floating
3031

3132
compton &
3233
dunst &
3334
mpd &
3435
setxkbmap -option caps:super &
35-
feh --bg-center ~/dotfiles/config/i3/wallpaper.png &
36+
feh --bg-center ~/dotfiles/images/jon-snow-1920x1080.jpg &
3637
$HOME/.config/polybar/launch.sh &
38+
$HOME/dotfiles/scripts/setup-xinput.sh &

0 commit comments

Comments
 (0)