]> code.delx.au - spectrwm/blob - spectrwm.conf
Add new options to change focus behavior on window open and close.
[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 colors 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_color[1] = black
25 # bar_font_color[1] = rgb:a0/a0/a0
26 # bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
27 # bar_action = baraction.sh
28 # bar_delay = 1
29 # bar_justify = left
30 # bar_at_bottom = 1
31 # stack_enabled = 1
32 # clock_enabled = 1
33 # clock_format = %a %b %d %R %Z %Y
34 # title_name_enabled = 0
35 # title_class_enabled = 0
36 # window_name_enabled = 0
37 # verbose_layout = 1
38 # urgent_enabled = 1
39
40 # Spawn Applications
41 # spawn_position = last
42 # program[term] = xterm
43 # program[screenshot_all] = screenshot.sh full
44 # program[screenshot_wind] = screenshot.sh window
45 # program[lock] = xlock
46 # program[initscr] = initscreen.sh
47 # program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
48 # spawn_term = xterm
49
50 # dialog box size ratio .3 >= r < 1
51 # dialog_ratio = 0.6
52
53 # Split a non-Xrandr dual head setup into one region per monitor
54 # (non-standard driver-based multihead is not seen by spectrwm)
55 # region = screen[1]:1280x1024+0+0
56 # region = screen[1]:1280x1024+1280+0
57
58 # Launch applications in a workspace of choice
59 # autorun = ws[1]:xterm
60 # autorun = ws[2]:xxxterm http://www.openbsd.org
61
62 # workspace layout
63 # layout = ws[1]:4:0:0:0:vertical
64 # layout = ws[2]:0:0:0:0:horizontal
65 # layout = ws[3]:0:0:0:0:fullscreen
66
67 # mod key, (windows key is Mod4) (apple key on OSX is Mod2)
68 # modkey = Mod1
69
70 # Clear key bindings and load new key bindings from the specified file.
71 # This allows you to load pre-defined key bindings for your keyboard layout.
72 # keyboard_mapping = ~/.spectrwm_us.conf
73
74 # quirks
75 # remove with: quirk[class:name] = NONE
76 # quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
77 # quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
78 # quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
79 # quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
80 # quirk[Firefox-bin:firefox-bin] = TRANSSZ
81 # quirk[Firefox:Dialog] = FLOAT
82 # quirk[Gimp:gimp] = FLOAT + ANYWHERE
83 # quirk[XTerm:xterm] = XTERM_FONTADJ
84 # quirk[xine:Xine Window] = FLOAT + ANYWHERE
85 # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
86 # quirk[xine:xine Panel] = FLOAT + ANYWHERE
87 # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
88 # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
89 # quirk[pcb:pcb] = FLOAT
90
91 # EXAMPLE: define firefox program and bind to key
92 # program[firefox] = firefox http://spectrwm.org/
93 # bind[firefox] = MOD+Shift+b