]> code.delx.au - spectrwm/blob - scrotwm.conf
Add comment and link to man page. Turns out a lot of people don't know
[spectrwm] / scrotwm.conf
1 # $scrotwm$
2
3 # PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
4 # http://opensource.conformal.com/cgi-bin/man-cgi?scrotwm
5
6 # colors for focussed and unfocussed window borders
7 # NOTE: all colors in this file are in hex! see XQueryColor for examples
8 color_focus = red
9 color_unfocus = rgb:88/88/88
10
11 # bar settings
12 bar_enabled = 1
13 bar_border_width = 1
14 bar_border[1] = rgb:00/80/80
15 bar_color[1] = black
16 bar_font_color[1] = rgb:a0/a0/a0
17 bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
18 #bar_action = baraction.sh
19 #bar_delay = 1
20 #bar_at_bottom = 1
21 stack_enabled = 1
22 clock_enabled = 1
23 #clock_format = %a %b %d %R %Z %Y
24 title_name_enabled = 0
25 title_class_enabled = 0
26 window_name_enabled = 0
27 #focus_mode = default
28 #disable_border = 1
29 #border_width = 1
30
31 # spawn app
32 # program[term] = xterm
33 # program[screenshot_all] = screenshot.sh full
34 # program[screenshot_wind] = screenshot.sh window
35 # program[lock] = xlock
36 # program[initscr] = initscreen.sh
37 # program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
38 spawn_term = xterm
39
40 # dialog box size ratio .3 >= r < 1
41 dialog_ratio = 0.6
42
43 # Split a non-Xrandr dual head setup into one region per monitor
44 # (non-standard driver-based multihead is not seen by scrotwm)
45 # region = screen[1]:1280x1024+0+0
46 # region = screen[1]:1280x1024+1280+0
47
48 # Launch applications in a workspace of choice
49 # autorun = ws[1]:xterm
50 # autorun = ws[2]:xxxterm http://www.openbsd.org
51
52 # workspace layout
53 # layout = ws[1]:4:0:0:0:vertical
54 # layout = ws[2]:0:0:0:0:horizontal
55 # layout = ws[3]:0:0:0:0:fullscreen
56
57 # mod key, (windows key is Mod4) (apple key on OSX is Mod2)
58 # modkey = Mod1
59
60 # key bindings
61 # unbind with: bind[] = <keys>
62 #bind[cycle_layout] = MOD+space
63 #bind[stack_reset] = MOD+Shift+space
64 #bind[master_shrink] = MOD+h
65 #bind[master_grow] = MOD+l
66 #bind[master_add] = MOD+comma
67 #bind[master_del] = MOD+period
68 #bind[stack_inc] = MOD+Shift+comma
69 #bind[stack_dec] = MOD+Shift+period
70 #bind[swap_main] = MOD+Return
71 #bind[focus_next] = MOD+j
72 #bind[focus_prev] = MOD+k
73 #bind[swap_next] = MOD+Shift+j
74 #bind[swap_prev] = MOD+Shift+k
75 #bind[spawn_term] = MOD+Shift+Return
76 #bind[menu] = MOD+p
77 #bind[quit] = MOD+Shift+q
78 #bind[restart] = MOD+q
79 #bind[focus_main] = MOD+m
80 #bind[ws_1] = MOD+1
81 #bind[ws_2] = MOD+2
82 #bind[ws_3] = MOD+3
83 #bind[ws_4] = MOD+4
84 #bind[ws_5] = MOD+5
85 #bind[ws_6] = MOD+6
86 #bind[ws_7] = MOD+7
87 #bind[ws_8] = MOD+8
88 #bind[ws_9] = MOD+9
89 #bind[ws_10] = MOD+0
90 #bind[ws_next] = MOD+Right
91 #bind[ws_prev] = MOD+Left
92 #bind[screen_next] = MOD+Shift+Right
93 #bind[screen_prev] = MOD+Shift+Left
94 #bind[mvws_1] = MOD+Shift+1
95 #bind[mvws_2] = MOD+Shift+2
96 #bind[mvws_3] = MOD+Shift+3
97 #bind[mvws_4] = MOD+Shift+4
98 #bind[mvws_5] = MOD+Shift+5
99 #bind[mvws_6] = MOD+Shift+6
100 #bind[mvws_7] = MOD+Shift+7
101 #bind[mvws_8] = MOD+Shift+8
102 #bind[mvws_9] = MOD+Shift+9
103 #bind[mvws_10] = MOD+Shift+0
104 #bind[bar_toggle] = MOD+b
105 #bind[focus_next] = MOD+Tab
106 #bind[focus_prev] = MOD+Shift+Tab
107 #bind[wind_kill] = MOD+Shift+x
108 #bind[wind_del] = MOD+x
109 #bind[screenshot_all] = MOD+s
110 #bind[screenshot_wind] = MOD+Shift+s
111 #bind[float_toggle] = MOD+t
112 #bind[version] = MOD+Shift+v
113 #bind[lock] = MOD+Shift+Delete
114 #bind[initscr] = MOD+Shift+i
115 #bind[iconify] = MOD+w
116 #bind[uniconify] = MOD+Shift+w
117 #bind[raise_toggle] = MOD+Shift+r
118
119 # quirks
120 # remove with: quirk[class:name] = NONE
121 #quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
122 #quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
123 #quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
124 #quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
125 #quirk[Firefox-bin:firefox-bin] = TRANSSZ
126 #quirk[Firefox:Dialog] = FLOAT
127 #quirk[Gimp:gimp] = FLOAT + ANYWHERE
128 #quirk[XTerm:xterm] = XTERM_FONTADJ
129 #quirk[xine:Xine Window] = FLOAT + ANYWHERE
130 #quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
131 #quirk[xine:xine Panel] = FLOAT + ANYWHERE
132 #quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
133 #quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
134 #quirk[pcb:pcb] = FLOAT
135
136 # EXAMPLE: define firefox program and bind to key
137 # program[firefox] = firefox http://scrotwm.org/
138 # bind[firefox] = MOD+f