aboutsummaryrefslogtreecommitdiff
path: root/.config/qtile/config.py
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-08-22 19:46:15 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-08-22 19:46:15 +0100
commit6aaea9cf4b283d41016e60735f52c8feb3cd0c9e (patch)
treeffc170bb7f267247b60908ac9125fcc02175afd9 /.config/qtile/config.py
parent86c0c3694c93025dfec23f27266905c12f446a4e (diff)
Initial commit
Diffstat (limited to '.config/qtile/config.py')
-rw-r--r--.config/qtile/config.py43
1 files changed, 43 insertions, 0 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
new file mode 100644
index 0000000..122d63a
--- /dev/null
+++ b/.config/qtile/config.py
@@ -0,0 +1,43 @@
+# Qtile Config File
+# http://www.qtile.org/
+
+# Justine Smithies
+# https://github.com/justinesmithies/qtile-wayland-dotfiles
+
+from typing import List # noqa: F401
+import hooks
+from keys import mod, keys, home
+from workspaces import workspaces
+from groups import groups
+from layouts import layouts, floating_layout
+from widgets import widget_defaults, extension_defaults
+from screens import screens
+from mouse import mouse
+from libqtile.backend.wayland import InputConfig
+
+# Configure input devices
+
+wl_input_rules = {
+ "type:keyboard": InputConfig(
+ kb_layout='us',
+ ),
+}
+
+dgroups_key_binder = None
+dgroups_app_rules = [] # type: List
+follow_mouse_focus = True
+bring_front_click = False
+cursor_warp = True
+auto_fullscreen = True
+focus_on_window_activation = "smart"
+reconfigure_screens = True
+
+# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this
+# string besides java UI toolkits; you can see several discussions on the
+# mailing lists, GitHub issues, and other WM documentation that suggest setting
+# this string if your java app doesn't work correctly. We may as well just lie
+# and say that we're a working one by default.
+#
+# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in
+# java that happens to be on java's whitelist.
+wmname = "Qtile"