mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
15 lines
422 B
Python
15 lines
422 B
Python
from libqtile.config import Drag, Click
|
|
from libqtile.command import lazy
|
|
from settings.keys import mod
|
|
|
|
# Define mouse binds
|
|
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())
|
|
]
|