Merge branch 'master' of builder.virt:git/moltenbar

This commit is contained in:
Jack L. Frost 2017-05-22 15:19:54 +03:00
commit 72d67d16f2
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
class BspwmTaskbar < Worker
def mainloop()
IO.popen("xtitle -s -f '%s'") do |pipe|
IO.popen("xtitle -s -f '%s\n'") do |pipe|
pipe.each do |line|
if line == "\n"
self.write ""

View File

@ -163,7 +163,11 @@ if config['geometry'] == nil
config['width'] = y.to_i - (gap * 2)
end
config['geometry'] = sprintf("%sx%s+%s+%s", config['width'], config['height'], gap, gap)
config['geometry'] = "%{w}x%{h}+%{gap}+%{gap}" % [
w: config['width'],
h: config['height'],
gap: gap
]
end
lemonbar_cmd = [