Advertisement
mrneilypops

Untitled

May 24th, 2014
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  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_unfocus = rgb:88/88/88
  16. region_padding = 8
  17. tile_gap = 6
  18.  
  19. # Region containment
  20. # Distance window must be dragged/resized beyond the region edge before it is
  21. # allowed outside the region.
  22. boundary_width = 50
  23.  
  24. # Remove window border when bar is disabled and there is only one window in workspace
  25. # disable_border = 1
  26.  
  27. # Bar Settings
  28. bar_enabled = 1
  29. bar_border_width = 0
  30. bar_border[1] = rgb:ff/00/00
  31. bar_border_unfocus[1] = rgb:00/40/40
  32. bar_color[1] = rgb:5e/5e/5e
  33. bar_font_color[1] = rgb:ef/ef/ef
  34. bar_font = -*-terminus-medium-*-*-*-*-*-*-*-*-*-*-*
  35. bar_action = conky
  36. bar_justify = center
  37. # bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
  38. bar_at_bottom = 1
  39. # stack_enabled = 1
  40. clock_enabled = 0
  41. # clock_format = %a %b %d %R %Z %Y
  42. title_name_enabled = 1
  43. title_class_enabled = 1
  44. window_name_enabled = 1
  45. verbose_layout = 1
  46. urgent_enabled = 1
  47.  
  48. # Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
  49. # dialog_ratio = 0.6
  50.  
  51. # Split a non-RandR dual head setup into one region per monitor
  52. # (non-standard driver-based multihead is not seen by spectrwm)
  53. # Look the last number '42', it's the vertical longer of new top bar.
  54. # The number '858' is your vertical screen resolution '-42'.
  55. # Exemple: for me on my laptop who have 1440x900, give vertical '900'-'42'='858'.
  56. # >-- Customize with your resolution. --<
  57. region = screen[1]:1920x1048+0+42
  58. # region = screen[1]:1280x1024+1280+0
  59.  
  60. # Launch applications in a workspace of choice
  61. # autorun = ws[1]:xterm
  62. # autorun = ws[2]:xombrero http://www.openbsd.org
  63.  
  64. # Customize workspace layout at start
  65. # layout = ws[1]:4:0:0:0:vertical
  66. # layout = ws[2]:0:0:0:0:horizontal
  67. # layout = ws[3]:0:0:0:0:fullscreen
  68. # layout = ws[4]:4:0:0:0:vertical_flip
  69. # layout = ws[5]:0:0:0:0:horizontal_flip
  70.  
  71. # Mod key, (Windows key is Mod4) (Apple key on OSX is Mod2)
  72. modkey = Mod1
  73.  
  74. # This allows you to include pre-defined key bindings for your keyboard layout.
  75. #keyboard_mapping = ~/.spectrwm_fr.conf
  76.  
  77. # PROGRAMS
  78.  
  79. # Validated default programs:
  80. # program[lock] = xlock
  81. program[term] = urxvt
  82. # -b flag for dmenu is for launch dmenu on bottom.
  83. program[menu] = dmenu_run -b -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color
  84. program[mygtkmenu] = ~/mygtkmenu/myGtkMenu /home/neil/mygtkmenu/menu.txt
  85.  
  86. # To disable validation of the above, free the respective binding(s):
  87. # bind[] = MOD+Shift+Delete # disable lock
  88. # bind[] = MOD+Shift+Enter # disable term
  89. # bind[] = MOD+p # disable menu
  90. bind[mygtkmenu] = MOD+F1
  91.  
  92. # Optional default programs that will only be validated if you override:
  93. # program[screenshot_all] = screenshot.sh full # optional
  94. # program[screenshot_wind] = screenshot.sh window # optional
  95. # program[initscr] = initscreen.sh # optional
  96.  
  97. # EXAMPLE: Define 'firefox' action and bind to key.
  98. program[firefox] = firefox http://spectrwm.org/
  99. bind[firefox] = MOD+shift+b
  100.  
  101. # QUIRKS
  102. # Default quirks, remove with: quirk[class:name] = NONE
  103. quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
  104. # quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
  105. # quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
  106. # quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
  107. # quirk[Firefox-bin:firefox-bin] = TRANSSZ
  108. # quirk[Firefox:Dialog] = FLOAT
  109. # quirk[Gimp:gimp] = FLOAT + ANYWHERE
  110. # quirk[XTerm:xterm] = XTERM_FONTADJ
  111. # quirk[xine:Xine Window] = FLOAT + ANYWHERE
  112. # quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
  113. # quirk[xine:xine Panel] = FLOAT + ANYWHERE
  114. # quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
  115. # quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
  116. # quirk[pcb:pcb] = FLOAT
  117. quirk[9menu:9menu] = FLOAT
  118. # quirk[oblogout:oblogout] = FLOAT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement