hardcoded length limit for bspwm_taskbar
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
ac5ea1ad6d
commit
4203d6269a
|
@ -10,7 +10,11 @@ class BspwmTaskbar < Worker
|
|||
line = "desktop"
|
||||
end
|
||||
|
||||
self.write line
|
||||
if line.length >= 43
|
||||
self.write "#{line[0...43]}..."
|
||||
else
|
||||
self.write line
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user