]> code.delx.au - spectrwm/blob - scrotwm.conf
add a new stack layout status thing to print the number of panes in the
[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 #verbose_layout = 1
28 #focus_mode = default
29 #disable_border = 1
30 #border_width = 1
31
32 # spawn app
33 # program[term] = xterm
34 # program[screenshot_all] = screenshot.sh full
35 # program[screenshot_wind] = screenshot.sh window
36 # program[lock] = xlock
37 # program[initscr] = initscreen.sh
38 # program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
39 spawn_term = xterm
40
41 # dialog box size ratio .3 >= r < 1
42 dialog_ratio = 0.6
43
44 # Split a non-Xrandr dual head setup into one region per monitor
45 # (non-standard driver-based multihead is not seen by scrotwm)
46 # region = screen[1]:1280x1024+0+0
47 # region = screen[1]:1280x1024+1280+0
48
49 # Launch applications in a workspace of choice
50 # autorun = ws[1]:xterm
51 # autorun = ws[2]:xxxterm http://www.openbsd.org
52
53 # workspace layout
54 # layout = ws[1]:4:0:0:0:vertical
55 # layout = ws[2]:0:0:0:0:horizontal
56 # layout = ws[3]:0:0:0:0:fullscreen
57
58 # mod key, (windows key is Mod4) (apple key on OSX is Mod2)
59 # modkey = Mod1
60
61 # key bindings
62 # unbind with: bind[] = <keys>
63 #bind[cycle_layout] = MOD+space
64 #bind[stack_reset] = MOD+Shift+space
65 #bind[master_shrink] = MOD+h
66 #bind[master_grow] = MOD+l
67 #bind[master_add] = MOD+comma
68 #bind[master_del] = MOD+period
69 #bind[stack_inc] = MOD+Shift+comma
70 #bind[stack_dec] = MOD+Shift+period
71 #bind[swap_main] = MOD+Return
72 #bind[focus_next] = MOD+j
73 #bind[focus_prev] = MOD+k
74 #bind[swap_next] = MOD+Shift+j
75 #bind[swap_prev] = MOD+Shift+k
76 #bind[spawn_term] = MOD+Shift+Return
77 #bind[menu] = MOD+p
78 #bind[quit] = MOD+Shift+q
79 #bind[restart] = MOD+q
80 #bind[focus_main] = MOD+m
81 #bind[ws_1] = MOD+1
82 #bind[ws_2] = MOD+2
83 #bind[ws_3] = MOD+3
84 #bind[ws_4] = MOD+4
85 #bind[ws_5] = MOD+5
86 #bind[ws_6] = MOD+6
87 #bind[ws_7] = MOD+7
88 #bind[ws_8] = MOD+8
89 #bind[ws_9] = MOD+9
90 #bind[ws_10] = MOD+0
91 #bind[ws_next] = MOD+Right
92 #bind[ws_prev] = MOD+Left
93 #bind[screen_next] = MOD+Shift+Right
94 #bind[screen_prev] = MOD+Shift+Left
95 #bind[mvws_1] = MOD+Shift+1
96 #bind[mvws_2] = MOD+Shift+2
97 #bind[mvws_3] = MOD+Shift+3
98 #bind[mvws_4] = MOD+Shift+4
99 #bind[mvws_5] = MOD+Shift+5
100 #bind[mvws_6] = MOD+Shift+6
101 #bind[mvws_7] = MOD+Shift+7
102 #bind[mvws_8] = MOD+Shift+8
103 #bind[mvws_9] = MOD+Shift+9
104 #bind[mvws_10] = MOD+Shift+0
105 #bind[bar_toggle] = MOD+b
106 #bind[focus_next] = MOD+Tab
107 #bind[focus_prev] = MOD+Shift+Tab
108 #bind[wind_kill] = MOD+Shift+x
109 #bind[wind_del] = MOD+x
110 #bind[screenshot_all] = MOD+s
111 #bind[screenshot_wind] = MOD+Shift+s
112 #bind[float_toggle] = MOD+t
113 #bind[version] = MOD+Shift+v
114 #bind[lock] = MOD+Shift+Delete
115 #bind[initscr] = MOD+Shift+i
116 #bind[iconify] = MOD+w
117 #bind[uniconify] = MOD+Shift+w
118 #bind[raise_toggle] = MOD+Shift+r
119
120 # quirks
121 # remove with: quirk[class:name] = NONE
122 #quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
123 #quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
124 #quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
125 #quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
126 #quirk[Firefox-bin:firefox-bin] = TRANSSZ
127 #quirk[Firefox:Dialog] = FLOAT
128 #quirk[Gimp:gimp] = FLOAT + ANYWHERE
129 #quirk[XTerm:xterm] = XTERM_FONTADJ
130 #quirk[xine:Xine Window] = FLOAT + ANYWHERE
131 #quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
132 #quirk[xine:xine Panel] = FLOAT + ANYWHERE
133 #quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
134 #quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
135 #quirk[pcb:pcb] = FLOAT
136
137 # EXAMPLE: define firefox program and bind to key
138 # program[firefox] = firefox http://scrotwm.org/
139 # bind[firefox] = MOD+f