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