Merge branch 'master' of builder.virt:git/moltenbar
This commit is contained in:
commit
72d67d16f2
|
@ -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 ""
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user