foo.rb
| 1 |
set :gravity, :center |
|---|---|
| 2 |
set :font, "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*" |
| 3 |
set :separator, "sep" |
| 4 |
|
| 5 |
screen 1 do |
| 6 |
top [:spacer, :separator, :title, :separator, :spacer] |
| 7 |
bottom [ ] |
| 8 |
end
|
| 9 |
|
| 10 |
style :focus do |
| 11 |
foreground "white"
|
| 12 |
end
|
| 13 |
|
| 14 |
style :separator do |
| 15 |
foreground "red"
|
| 16 |
end
|
| 17 |
|
| 18 |
style :clients do |
| 19 |
width 50
|
| 20 |
end
|
| 21 |
|
| 22 |
style :title do |
| 23 |
foreground "green"
|
| 24 |
border "yellow", 1 |
| 25 |
end
|
| 26 |
|
| 27 |
|
| 28 |
gravity :center, [ 0, 0, 100, 100 ] |
| 29 |
|
| 30 |
grab "W-Return" do; end |
| 31 |
tag "terms", "xterm|[u]?rxvt" |
| 32 |
view "terms", "terms|default" |
| 33 |
view "www", "terms" |
| 34 |
view "gimp", "terms" |
| 35 |
view "dev", "terms" |