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