Modernized Dracula for Qtile
A modernized, Wayland-ready dark theme and configuration for Qtile
This configuration has been modernized to support both Wayland and X11 sessions seamlessly.
- Wayland Native: Optimized for Wayland while maintaining X11 compatibility.
- Dynamic Tool Selection: Automatically chooses between
grim/slurp(Wayland) andmaim(X11) for screenshots. - Modern Clipboard: Uses
cliphistandwl-copyfor Wayland clipboard management. - Enhanced Stability: Updated to use the latest Qtile APIs (e.g.,
StatusNotifierinstead ofSystrayon Wayland). - Robust Scripts: Improved error handling and feature parity across backends.
- Visual Polish: Achieves a spacious, "spectrwm"-like feel with optimized margins and bar dimensions.
- Dynamic Scaling: On-the-fly DPI (X11) and Scaling (Wayland) adjustments via the bar.
- Integrated Power Management: Convenient menu for Lock, Sleep, Reboot, and Shutdown.
- Interactive Help: Quick access to all keybindings via the F1 menu.
To properly run this qtile configuration, please install the following dependencies:
network-manager-applet(for WiFi management:nm-applet)dunst(notification daemon)rofiorrofi-wayland(app launcher)lxqt-policykit(for polkit authentication)python-psutil(for resource widgets)fantasque-sans-mono-nerd-font(recommended font)
grim&slurp(for screenshots)wl-clipboard(clipboard utilities)cliphist(clipboard history)wlr-randr(for dynamic scaling)
picom(compositor)maim&xclip(for screenshots and clipboard)rofi-greenclip(clipboard history for X11)
yad(for professional Help menu)pulseaudio-utils(providespactlfor unified volume control)
git clone https://github.com/Pakrohk/qtile.git ~/.config/qtile
You can customize the autostarted applications in the config.py file. It now includes logic to detect the backend and launch appropriate tools.
Additionally, other config files under bindings/, groups/, layouts/, and widgets/ can be modified to tailor the experience.
- Backend Detection: The configuration uses
qtile.core.nameto detect if it's running underwaylandorx11. - Bar Arguments: Deprecated arguments like
floatingordraw_shadowhave been removed from the Bar definition for compatibility with latest Qtile. - Layouts: Custom BSP resize functions now use standard
grow_methods for better stability.
Contributions from the community are welcome! Original contributors: Pakrohk, nooob-developer.
