2022-04-30 12:49:30 +02:00
|
|
|
from libqtile.config import Drag, Click
|
|
|
|
from libqtile.command import lazy
|
2022-04-30 20:33:28 +02:00
|
|
|
from .keys import mod
|
2022-04-30 12:49:30 +02:00
|
|
|
|
2022-04-30 20:38:14 +02:00
|
|
|
|
2022-04-30 12:49:30 +02:00
|
|
|
mouse = [
|
|
|
|
Drag(
|
|
|
|
[mod],
|
|
|
|
"Button1",
|
|
|
|
lazy.window.set_position_floating(),
|
|
|
|
start=lazy.window.get_position()
|
|
|
|
),
|
|
|
|
Drag(
|
|
|
|
[mod],
|
|
|
|
"Button3",
|
|
|
|
lazy.window.set_size_floating(),
|
|
|
|
start=lazy.window.get_size()
|
|
|
|
),
|
2022-04-30 20:38:14 +02:00
|
|
|
Click([mod], "Button2", lazy.window.bring_to_front())
|
2022-04-30 12:49:30 +02:00
|
|
|
]
|