]> code.delx.au - spectrwm/blob - spectrwm.conf
unsigned long -> size_t
[spectrwm] / spectrwm.conf
1 # PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
2 # http://opensource.conformal.com/cgi-bin/man-cgi?spectrwm
3 # NOTE: all rgb color values in this file are in hex! see XQueryColor for examples
4
5 # workspace_limit = 22
6 # focus_mode = default
7 # focus_close = previous
8 # focus_close_wrap = 1
9 # focus_default = last
10 # spawn_position = next
11
12 # Window Decoration
13 # border_width = 1
14 # color_focus = red
15 # color_unfocus = rgb:88/88/88
16
17 # Remove window border when bar is disabled and there is only one window in workspace
18 # disable_border = 1
19
20 # Bar Settings
21 # bar_enabled = 1
22 # bar_border_width = 1
23 # bar_border[1] = rgb:00/80/80
24 # bar_border_unfocus[1] = rgb:00/40/40
25 # bar_color[1] = black
26 # bar_font_color[1] = rgb:a0/a0/a0
27 # bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
28 # bar_action = baraction.sh
29 # bar_justify = left
30 # bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
31 # bar_at_bottom = 1
32 # stack_enabled = 1
33 # clock_enabled = 1
34 # clock_format = %a %b %d %R %Z %Y
35 # region_padding = 0
36 # tile_gap = 0
37 # title_name_enabled = 0
38 # title_class_enabled = 0
39 # window_name_enabled = 0
40 # verbose_layout = 1
41 # urgent_enabled = 1
42
43 # Spawn Applications
44 # spawn_position = last
45
46 # Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
47 # dialog_ratio = 0.6
48
49 # Split a non-RandR dual head setup into one region per monitor
50 # (non-standard driver-based multihead is not seen by spectrwm)
51 # region = screen[1]:1280x1024+0+0
52 # region = screen[1]:1280x1024+1280+0
53
54 # Launch applications in a workspace of choice
55 # autorun = ws[1]:xterm
56 # autorun = ws[2]:xombrero http://www.openbsd.org
57
58 # Customize workspace layout at start
59 # layout = ws[1]:4:0:0:0:vertical
60 # layout = ws[2]:0:0:0:0:horizontal
61 # layout = ws[3]:0:0:0:0:fullscreen
62 # layout = ws[4]:4:0:0:0:vertical_flip
63 # layout = ws[5]:0:0:0:0:horizontal_flip
64
65 # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2)
66 # modkey = Mod1
67
68 # This allows you to include pre-defined key bindings for your keyboard layout.
69 # keyboard_mapping = ~/.spectrwm_us.conf
70
71 # PROGRAMS
72
73 # Validated default programs:
74 # program[lock] = xlock
75 # program[term] = xterm
76 # program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
77
78 # To disable validation of the above, free the respective binding(s):
79 # bind[] = MOD+Shift+Delete # disable lock
80 # bind[] = MOD+Shift+Enter # disable term
81 # bind[] = MOD+p # disable menu
82
83 # Optional default programs that will only be validated if you override:
84 # program[screenshot_all] = screenshot.sh full # optional
85 # program[screenshot_wind] = screenshot.sh window # optional
86 # program[initscr] = initscreen.sh # optional
87
88 # EXAMPLE: Define 'firefox' action and bind to key.
89 # program[firefox] = firefox http://spectrwm.org/
90 # bind[firefox] = MOD+Shift+b
91
92 # QUIRKS
93 # Default quirks, remove with: quirk[class:name] = NONE
94 # quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
95 # quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
96 # quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
97 # quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
98 # quirk[Firefox-bin:firefox-bin] = TRANSSZ
99 # quirk[Firefox:Dialog] = FLOAT
100 # quirk[Gimp:gimp] = FLOAT + ANYWHERE
101 # quirk[XTerm:xterm] = XTERM_FONTADJ
102 # quirk[xine:Xine Window] = FLOAT + ANYWHERE
103 # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
104 # quirk[xine:xine Panel] = FLOAT + ANYWHERE
105 # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
106 # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
107 # quirk[pcb:pcb] = FLOAT