47 lines
1.3 KiB
Python
47 lines
1.3 KiB
Python
import os
|
|
|
|
from modules.get_theme import colors
|
|
from modules.groups import groups
|
|
from modules.hooks import *
|
|
from modules.keys import keys, mod
|
|
from modules.layouts import layouts, floating_layout
|
|
from modules.screens import screens
|
|
from modules.scratchpads import *
|
|
|
|
from libqtile import qtile
|
|
from libqtile.config import Click, Drag
|
|
from libqtile.lazy import lazy
|
|
|
|
from libqtile.backend.wayland import InputConfig
|
|
|
|
# Set xdg variables in Wayland to enable screensharing
|
|
if qtile.core.name == "wayland":
|
|
os.environ["XDG_SESSION_DESKTOP"] = "qtile:wlroots"
|
|
os.environ["XDG_CURRENT_DESKTOP"] = "qtile:wlroots"
|
|
|
|
dgroups_key_binder = None
|
|
dgroups_app_rules = [] # type: list
|
|
follow_mouse_focus = True
|
|
bring_front_click = False
|
|
floats_kept_above = True
|
|
cursor_warp = False
|
|
auto_fullscreen = True
|
|
focus_on_window_activation = "smart"
|
|
reconfigure_screens = True
|
|
|
|
# If things like steam games want to auto-minimize themselves when losing
|
|
# focus, should we respect this or not?from libqtile.backend.wayland import InputConfig
|
|
auto_minimize = True
|
|
|
|
# When using the Wayland backend, this can be used to configure input devices.
|
|
wl_input_rules = {
|
|
"type:touchpad": InputConfig(tap=True, natural_scroll=True, dwt=True),
|
|
}
|
|
|
|
# Cursor theme
|
|
wl_xcursor_theme = "Bibata-Modern-Classic"
|
|
wl_xcursor_size = 24
|
|
|
|
# Name of the window manager
|
|
wmname = "qtile"
|