About this project

Drawer-Linux is a random name drawing tool for the Linux desktop, built with C++20, Qt 6, and CMake, primarily running on Debian 13, KDE Plasma 6, and Wayland. Core features include: randomly drawing one name from a list; triggering a draw via the system tray menu or by left-clicking the tray icon; support for autostart at boot, writing to `~/.config/autostart/drawer.desktop`; the ability to show or hide a floating button, where left-clicking the floating button draws and right-clicking drags its position; a password-protected list editing feature with an initial password of `123456`, allowing management of lists, import/export, and password changes; a statistics menu to view the total number of lists and the current list; and a help menu explaining how to bind external hotkeys and how to keep the floating window on top. The program also provides command-line arguments: `--trigger` to trigger a draw, `--version` to display the version, and `--help` to display help. The project includes complete build and packaging instructions. On Debian 13, after installing cmake, qt6-base-dev, qt6-base-dev-tools, libxkbcommon-dev, and libssl-dev, you can build Debug or Release versions with CMake and run tests via CTest. Packaging uses CPack and can generate `.deb` and `.rpm` installation packages; after installation, files are located at `/usr/bin/drawer` and `/usr/share/applications/drawer.desktop`. The README also explains that on the GNOME desktop, the AppIndicator extension must be enabled for the tray icon to display properly, as well as how to clean up `~/.config/YuXiang/` and the autostart configuration file after uninstalling.