- QML 50.9%
- C++ 34.5%
- CMake 14.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| po | ||
| resources | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
Sanar Ejen
Note
Repository Mirrors
- git.nuros.org (sanarde/ejen): primary, self-hosted Forgejo instance, accounts restricted to the core team.
- GitHub (sanarde/ejen): mirror for external contributors. Issues and Pull Requests opened here are welcome and are reviewed and processed by the core team.
About
Polkit authentication agent for SanarDE.
Dependencies
- Qt 6.8 or newer (Core, Gui, Quick)
- Sanar Style
- polkit-qt6 (Core, Agent)
- CMake 3.21 or newer
- A C++20 compiler
Build
cmake -S . -B build -G Ninja
cmake --build build
./build/src/sanar-ejen
If Sanar Style is installed outside the system prefix, pass its prefix with -DCMAKE_PREFIX_PATH=<prefix> when configuring and set QML_IMPORT_PATH=<prefix>/lib/qt6/qml when running.
To install, configure with -DCMAKE_INSTALL_PREFIX=<prefix> and run cmake --install build. This installs the executable, the icons, the desktop file, the autostart entry, the message catalogs and the AppStream metadata. The autostart entry goes to <sysconfdir>/xdg/autostart, which is /etc/xdg/autostart for the /usr prefix.
Usage
Sanar Ejen registers as the Polkit authentication agent of the current login session and shows a dialog when a program requests authorization. Only one agent can be registered per session. If another agent is already running (for example the one built into GNOME Shell), Sanar Ejen prints a message and exits with status 1.
Colors
Colors and fonts come from Sanar Style. See its documentation for the Seurat integration and for custom palettes.
Links
License
GNU General Public License v3.0. See LICENSE.