the fuck. How did this ever work
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
eba0c0df0b
commit
212ea98db8
|
@ -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