Skip to content

Commit

Permalink
Remove typo in Tasklist's calculated width
Browse files Browse the repository at this point in the history
Default width of 10 must have been a typo...
  • Loading branch information
elParaguayo authored and tych0 committed Mar 9, 2024
1 parent 66c3ca0 commit 728ed0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqtile/widget/tasklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def calc_box_widths(self):
return zip(windows, icons, names, width_boxes)

def calculate_length(self):
width = 10
width = 0
box_widths = [box[3] for box in self.calc_box_widths()]
if box_widths:
width += self.spacing * len(box_widths) - 1
Expand Down

0 comments on commit 728ed0a

Please sign in to comment.