Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
- # http://opensource.conformal.com/cgi-bin/man-cgi?spectrwm
- # NOTE: all rgb color values in this file are in hex! see XQueryColor for examples
- # workspace_limit = 22
- focus_mode = default
- # focus_close = previous
- # focus_close_wrap = 1
- # focus_default = last
- # spawn_position = next
- # Window Decoration
- border_width = 1
- color_focus = red
- color_unfocus = rgb:88/88/88
- region_padding = 8
- tile_gap = 6
- # Region containment
- # Distance window must be dragged/resized beyond the region edge before it is
- # allowed outside the region.
- boundary_width = 50
- # Remove window border when bar is disabled and there is only one window in workspace
- # disable_border = 1
- # Bar Settings
- bar_enabled = 1
- bar_border_width = 0
- bar_border[1] = rgb:ff/00/00
- bar_border_unfocus[1] = rgb:00/40/40
- bar_color[1] = rgb:5e/5e/5e
- bar_font_color[1] = rgb:ef/ef/ef
- bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
- bar_action = conky
- bar_justify = center
- # bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
- bar_at_bottom = 1
- # stack_enabled = 1
- clock_enabled = 0
- # clock_format = %a %b %d %R %Z %Y
- title_name_enabled = 1
- title_class_enabled = 1
- window_name_enabled = 1
- verbose_layout = 1
- urgent_enabled = 1
- # Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
- # dialog_ratio = 0.6
- # Split a non-RandR dual head setup into one region per monitor
- # (non-standard driver-based multihead is not seen by spectrwm)
- # Look the last number '42', it's the vertical longer of new top bar.
- # The number '858' is your vertical screen resolution '-42'.
- # Exemple: for me on my laptop who have 1440x900, give vertical '900'-'42'='858'.
- # >-- Customize with your resolution. --<
- region = screen[1]:1920x1048+0+42
- # region = screen[1]:1280x1024+1280+0
- # Launch applications in a workspace of choice
- # autorun = ws[1]:xterm
- # autorun = ws[2]:xombrero http://www.openbsd.org
- # Customize workspace layout at start
- # layout = ws[1]:4:0:0:0:vertical
- # layout = ws[2]:0:0:0:0:horizontal
- # layout = ws[3]:0:0:0:0:fullscreen
- # layout = ws[4]:4:0:0:0:vertical_flip
- # layout = ws[5]:0:0:0:0:horizontal_flip
- # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2)
- modkey = Mod1
- # This allows you to include pre-defined key bindings for your keyboard layout.
- #keyboard_mapping = ~/.spectrwm_fr.conf
- # PROGRAMS
- # Validated default programs:
- # program[lock] = xlock
- program[term] = urxvt
- # -b flag for dmenu is for launch dmenu on bottom.
- program[menu] = dmenu_run -b -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
- program[mygtkmenu] = ~/mygtkmenu/myGtkMenu /home/neil/mygtkmenu/menu.txt
- # To disable validation of the above, free the respective binding(s):
- # bind[] = MOD+Shift+Delete # disable lock
- # bind[] = MOD+Shift+Enter # disable term
- # bind[] = MOD+p # disable menu
- bind[mygtkmenu] = MOD+F1
- # Optional default programs that will only be validated if you override:
- # program[screenshot_all] = screenshot.sh full # optional
- # program[screenshot_wind] = screenshot.sh window # optional
- # program[initscr] = initscreen.sh # optional
- # EXAMPLE: Define 'firefox' action and bind to key.
- program[firefox] = firefox http://spectrwm.org/
- bind[firefox] = MOD+shift+b
- # QUIRKS
- # Default quirks, remove with: quirk[class:name] = NONE
- quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
- # quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
- # quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
- # quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
- # quirk[Firefox-bin:firefox-bin] = TRANSSZ
- # quirk[Firefox:Dialog] = FLOAT
- # quirk[Gimp:gimp] = FLOAT + ANYWHERE
- # quirk[XTerm:xterm] = XTERM_FONTADJ
- # quirk[xine:Xine Window] = FLOAT + ANYWHERE
- # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
- # quirk[xine:xine Panel] = FLOAT + ANYWHERE
- # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
- # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
- # quirk[pcb:pcb] = FLOAT
- quirk[9menu:9menu] = FLOAT
- # quirk[oblogout:oblogout] = FLOAT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement