blob: a616bac9fd0f97ea5f4f3fcb31080b7a0ca912f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Justine Smithies
# https://git.sr.ht/~justinesmithies/dotfiles
# Mouse floating layouts.
from libqtile.config import Drag, Click
from libqtile.command import lazy
from keys import mod
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()
)
]
|