aboutsummaryrefslogblamecommitdiff
path: root/.config/qtile/mouse.py
blob: 6cd0e88420b6c2162403ad4c674e82cf62c1e3b1 (plain) (tree)



























                                                           
# Justine Smithies
# https://github.com/justinesmithies/qtile-wayland-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()
    )
]