[Shell] Personal dotfiles and scripts to deploy them.
Pretty alignment.
herbstluftwm-autostart.org
@@ -12,6 +12,7 @@
12
12
13
13
#+MACRO: hl Herbstluftwm
14
14
15
Added:
15
16
* Introduction
16
17
17
18
This is my literate configuration for {{{hl}}}. It is a manual tiling
@@ -29,6 +30,8 @@
29
30
30
31
** Definitions
31
32
33
Added:
We begin by defining a shorthand name for the ~herbstclient~ program:
34
Added:
32
35
#+BEGIN_SRC shell
33
36
hc() {
34
37
herbstclient "$@"
@@ -89,6 +92,7 @@
89
92
hc keybind $Mod-Shift-c close
90
93
#+END_SRC
91
94
95
Added:
92
96
** Spawn a terminal
93
97
94
98
We use our $TERMINAL with ~xfce4-terminal~ as fallback.
@@ -240,6 +244,11 @@
240
244
#+END_SRC
241
245
242
246
247
Added:
*** Jump to to next urgent program
248
Added:
249
Added:
Super useful when getting prompted for permissions in a browser on a
250
Added:
different tag!
251
Added:
243
252
#+BEGIN_SRC shell
244
253
hc keybind $Mod-i jumpto urgent
245
254
#+END_SRC
@@ -251,7 +260,7 @@
251
260
** Basic
252
261
253
262
#+BEGIN_SRC shell
254
Removed:
hc attr theme.tiling.reset 1
263
Added:
hc attr theme.tiling.reset 1
255
264
hc attr theme.floating.reset 1
256
265
#+END_SRC
257
266
@@ -261,38 +270,42 @@
261
270
#+BEGIN_SRC shell
262
271
hc set frame_border_active_color '#222222cc'
263
272
hc set frame_border_normal_color '#101010cc'
264
Removed:
hc set frame_bg_normal_color '#565656aa'
265
Removed:
hc set frame_bg_active_color '#345F0Caa'
266
Removed:
hc set frame_border_width 1
267
Removed:
hc set always_show_frame on
268
Removed:
hc set frame_bg_transparent on
269
Removed:
hc set frame_transparent_width 5
270
Removed:
hc set frame_gap 0
273
Added:
hc set frame_bg_normal_color '#565656aa'
274
Added:
hc set frame_bg_active_color '#345F0Caa'
275
Added:
hc set frame_border_width 1
276
Added:
hc set always_show_frame on
277
Added:
hc set frame_bg_transparent on
278
Added:
hc set frame_transparent_width 5
279
Added:
hc set frame_gap 0
271
280
#+END_SRC
272
281
273
282
274
283
** Windows
275
284
276
285
#+BEGIN_SRC shell
277
Removed:
hc attr theme.title_height 24
278
Removed:
hc attr theme.title_font 'Hack:pixelsize=20' # example using Xft
279
Removed:
# hc attr theme.title_font '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
280
Removed:
hc attr theme.padding_top 4 # space below the title's baseline (i.e. text depth)
281
Removed:
hc attr theme.active.color '#345F0Cef'
282
Removed:
hc attr theme.title_color '#ffffff'
283
Removed:
hc attr theme.normal.color '#323232dd'
284
Removed:
hc attr theme.urgent.color '#7811A1dd'
285
Removed:
hc attr theme.normal.title_color '#898989'
286
Removed:
hc attr theme.inner_width 1
287
Removed:
hc attr theme.inner_color black
288
Removed:
hc attr theme.border_width 3
289
Removed:
hc attr theme.floating.border_width 12
290
Removed:
hc attr theme.floating.outer_width 1
291
Removed:
hc attr theme.floating.outer_color black
292
Removed:
hc attr theme.active.inner_color '#789161'
293
Removed:
hc attr theme.urgent.inner_color '#9A65B0'
294
Removed:
hc attr theme.normal.inner_color '#606060'
295
Removed:
# copy inner color to outer_color
286
Added:
hc attr theme.title_height 24
287
Added:
hc attr theme.title_font 'Hack:pixelsize=20' # example using Xft
288
Added:
# hc attr theme.title_font '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*'
289
Added:
hc attr theme.padding_top 4 # space below the title's baseline (i.e. text depth)
290
Added:
hc attr theme.active.color '#345F0Cef'
291
Added:
hc attr theme.title_color '#ffffff'
292
Added:
hc attr theme.normal.color '#323232dd'
293
Added:
hc attr theme.urgent.color '#7811A1dd'
294
Added:
hc attr theme.normal.title_color '#898989'
295
Added:
hc attr theme.inner_width 1
296
Added:
hc attr theme.inner_color black
297
Added:
hc attr theme.border_width 3
298
Added:
hc attr theme.floating.border_width 12
299
Added:
hc attr theme.floating.outer_width 1
300
Added:
hc attr theme.floating.outer_color black
301
Added:
hc attr theme.active.inner_color '#789161'
302
Added:
hc attr theme.urgent.inner_color '#9A65B0'
303
Added:
hc attr theme.normal.inner_color '#606060'
304
Added:
#+END_SRC
305
Added:
306
Added:
Copy ~inner_color~ to ~outer_color~.
307
Added:
308
Added:
#+BEGIN_SRC shell
296
309
for state in active urgent normal ; do
297
310
hc substitute C theme.${state}.inner_color \
298
311
attr theme.${state}.outer_color C
@@ -330,6 +343,8 @@
330
343
331
344
332
345
** Rules
346
Added:
347
Added:
First, we cancel all previously bound rules.
333
348
334
349
#+BEGIN_SRC shell
335
350
hc unrule -F