mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-14 13:09:37 +01:00
18 lines
433 B
Python
18 lines
433 B
Python
|
from libqtile.config import Click, Drag
|
||
|
from libqtile.lazy import lazy
|
||
|
from .keys import mod
|
||
|
|
||
|
# Drag floating layouts.
|
||
|
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()
|
||
|
),
|
||
|
Click([mod], "Button2", lazy.window.bring_to_front()),
|
||
|
]
|