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