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