]> code.delx.au - spectrwm/blob - spectrwm.conf
Fixed bug in man page.
[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 # warp_pointer = 1
12
13 # Window Decoration
14 # border_width = 1
15 # color_focus = red
16 # color_focus_maximized = yellow
17 # color_unfocus = rgb:88/88/88
18 # color_unfocus_maximized = rgb:88/88/00
19 # region_padding = 0
20 # tile_gap = 0
21
22 # Region containment
23 # Distance window must be dragged/resized beyond the region edge before it is
24 # allowed outside the region.
25 # boundary_width = 50
26
27 # Remove window border when bar is disabled and there is only one window in workspace
28 # disable_border = 1
29
30 # Bar Settings
31 # bar_enabled = 1
32 # bar_border_width = 1
33 # bar_border[1] = rgb:00/80/80
34 # bar_border_unfocus[1] = rgb:00/40/40
35 # bar_color[1] = black
36 # bar_font_color[1] = rgb:a0/a0/a0
37 # bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
38 # bar_action = baraction.sh
39 # bar_justify = left
40 # bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
41 # bar_at_bottom = 1
42 # stack_enabled = 1
43 # clock_enabled = 1
44 # clock_format = %a %b %d %R %Z %Y
45 # iconic_enabled = 0
46 # window_class_enabled = 0
47 # window_instance_enabled = 0
48 # window_name_enabled = 0
49 # verbose_layout = 1
50 # urgent_enabled = 1
51
52 # Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
53 # dialog_ratio = 0.6
54
55 # Split a non-RandR dual head setup into one region per monitor
56 # (non-standard driver-based multihead is not seen by spectrwm)
57 # region = screen[1]:1280x1024+0+0
58 # region = screen[1]:1280x1024+1280+0
59
60 # Launch applications in a workspace of choice
61 # autorun = ws[1]:xterm
62 # autorun = ws[2]:xombrero http://www.openbsd.org
63
64 # Customize workspace layout at start
65 # layout = ws[1]:4:0:0:0:vertical
66 # layout = ws[2]:0:0:0:0:horizontal
67 # layout = ws[3]:0:0:0:0:fullscreen
68 # layout = ws[4]:4:0:0:0:vertical_flip
69 # layout = ws[5]:0:0:0:0:horizontal_flip
70
71 # Set workspace name at start
72 # name = ws[1]:IRC
73 # name = ws[2]:Email
74 # name = ws[3]:Browse
75 # name = ws[10]:Music
76
77 # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2)
78 # modkey = Mod1
79
80 # This allows you to include pre-defined key bindings for your keyboard layout.
81 # keyboard_mapping = ~/.spectrwm_us.conf
82
83 # PROGRAMS
84
85 # Validated default programs:
86 # program[lock] = xlock
87 # program[term] = xterm
88 # program[menu] = dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
89
90 # To disable validation of the above, free the respective binding(s):
91 # bind[] = MOD+Shift+Delete # disable lock
92 # bind[] = MOD+Shift+Enter # disable term
93 # bind[] = MOD+p # disable menu
94
95 # Optional default programs that will only be validated if you override:
96 # program[screenshot_all] = screenshot.sh full # optional
97 # program[screenshot_wind] = screenshot.sh window # optional
98 # program[initscr] = initscreen.sh # optional
99
100 # EXAMPLE: Define 'firefox' action and bind to key.
101 # program[firefox] = firefox http://spectrwm.org/
102 # bind[firefox] = MOD+Shift+b
103
104 # QUIRKS
105 # Default quirks, remove with: quirk[class:name] = NONE
106 # quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
107 # quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
108 # quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
109 # quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
110 # quirk[Firefox-bin:firefox-bin] = TRANSSZ
111 # quirk[Firefox:Dialog] = FLOAT
112 # quirk[Gimp:gimp] = FLOAT + ANYWHERE
113 # quirk[XTerm:xterm] = XTERM_FONTADJ
114 # quirk[xine:Xine Window] = FLOAT + ANYWHERE
115 # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
116 # quirk[xine:xine Panel] = FLOAT + ANYWHERE
117 # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
118 # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
119 # quirk[pcb:pcb] = FLOAT