Skip to content

Commit

Permalink
Small bug fix (#1366)
Browse files Browse the repository at this point in the history
When `qsh` was changed to `qshell`, the number of stripped characters was not updated.
  • Loading branch information
heitzmann authored and ramnes committed Jul 3, 2019
1 parent 417ce07 commit 96ac866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqtile/widget/launchbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def button_press(self, x, y, button):
if icon is not None:
cmd = self.progs[icon]['cmd']
if cmd.startswith('qshell:'):
exec(cmd[4:].lstrip())
exec(cmd[7:].lstrip())
else:
self.qtile.cmd_spawn(cmd)
self.draw()
Expand Down

0 comments on commit 96ac866

Please sign in to comment.