Advertisement
Pauan

Subtle Config Old

May 29th, 2012
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.83 KB | None | 0 0
  1. tag "stat:ul" do
  2.   match "xfce4-taskmanager"
  3.   gravity :g50_ul
  4. end
  5.  
  6. tag "stat:ll" do
  7.   match "transmission-gtk"
  8.   gravity :g50_ll
  9. end
  10.  
  11. tag "stat:lr" do
  12.   match "pavucontrol"
  13.   gravity :g50_lr
  14. end
  15.  
  16. tag "www:" do
  17.   match "Firefox"
  18.   gravity :g100_g
  19. end
  20.  
  21. tag "www:browser" do
  22.   match :class => "Firefox", :role => "browser"
  23.   borderless true
  24. end
  25.  
  26. tag "text:l" do
  27.   match "gedit"
  28.   gravity :g60_l
  29. end
  30.  
  31. tag "text:r" do
  32.   match "xfce4-terminal"
  33.   gravity :g60_r
  34. end
  35.  
  36. tag "chat:" do
  37.   match "Pidgin"
  38.   match "Steam.exe"
  39. end
  40.  
  41. tag "chat:ul" do
  42.   match :instance => "Pidgin", :role => "buddy_list"
  43.   gravity :g15_ul
  44. end
  45.  
  46. tag "chat:ur" do
  47.   match :instance => "Pidgin", :role => "conversation"
  48.   gravity :g15_ur
  49. end
  50.  
  51. tag "chat:ll" do
  52.   match :instance => "Steam.exe", :name => "Friends"
  53.   gravity :g15_ll
  54. end
  55.  
  56. tag "chat:lr" do
  57.   match :instance => "Steam.exe", :name => /^.+\ -\ Chat$/
  58.   gravity :g15_lr
  59. end
  60.  
  61. tag "5:hl2" do
  62.   match "hl2.exe"
  63.   fixed true
  64. end
  65.  
  66. tag "5:bsnes" do
  67.   match :instance => "phoenix", :name => /^bsnes\ v\d+$/
  68.   geometry [ 508, 195, 584, 510 ]
  69.   fixed true
  70. end
  71.  
  72. tag "files" do
  73.   match "Thunar"
  74.   gravity :g100_g
  75. end
  76.  
  77. tag "chrome" do
  78.   match "Google-chrome"
  79.   gravity :g100_g
  80. end
  81.  
  82. tag "gimp:" do
  83.   match :instance => /^gimp-\d\.\d$/
  84. end
  85.  
  86. tag "gimp:l" do
  87.   match :instance => /^gimp-\d\.\d$/, :role => "gimp-toolbox"
  88.   gravity :g15_l
  89. end
  90.  
  91. tag "gimp:r" do
  92.   match :instance => /^gimp-\d\.\d$/, :role => "gimp-image-window"
  93.   gravity :g15_r
  94. end
  95.  
  96. view "stat", /^stat:|$/
  97. view  "www", /^www:|$/
  98. view "text", /^text:|$/
  99. view "chat", /^chat:|$/
  100.  
  101. view "5" do
  102.   match /(?:^5:|$)|default/
  103.   gravity :g100_g
  104. end
  105.  
  106. { "gimp"   => /^gimp:|$/,
  107.   "files"  => "files",
  108.   "chrome" => "chrome" }.
  109.   each do |k, v|
  110.     view k do
  111.       match v
  112.       dynamic true
  113.     end
  114.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement