Fix mouse callbacks with terminal

This commit is contained in:
Aleksey Samoilov 2023-11-25 10:36:24 +04:00
parent 0d9a4046fa
commit 640db1a146

View file

@ -207,7 +207,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + '-e btop')}
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + ' -e btop')}
),
widget.Spacer(length = 8),
widget.Memory(
@ -220,7 +220,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + '-e btop')}
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + ' -e btop')}
),
widget.Spacer(length = 8),
widget.Net(
@ -233,7 +233,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + '-e nmtui')}
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + ' -e nmtui')}
),
widget.Spacer(length = 8),
widget.Volume(
@ -257,7 +257,7 @@ screens = [
border_width = [0, 0, 2, 0],
)
],
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + '-e calcurse')}
mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(terminal + ' -e calcurse')}
),
widget.Spacer(length = 8),
widget.Image(