Shell of SanarDE.
  • C++ 65.4%
  • QML 31.1%
  • CMake 3.2%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-17 20:14:11 +05:00
layershell feat: add the layer shell plugin for Qt 2026-11-16 21:32:15 +05:00
protocols feat: add the layer shell plugin for Qt 2026-11-16 21:32:15 +05:00
scripts feat: show the calendar as an overlay on Wayland 2026-11-16 21:32:16 +05:00
src fix: clip the window list, reset shown on hide and ask for exclusive keyboard on overlays 2026-11-17 18:55:33 +05:00
tests feat: show a window list in the bar 2026-11-17 18:46:08 +05:00
.gitignore build: add the Chalk project skeleton 2026-11-16 21:06:18 +05:00
CMakeLists.txt feat: add a notification daemon with banners and a history in the calendar 2026-11-17 15:50:08 +05:00
CONTRIBUTING.md docs: bring the README and CONTRIBUTING in line with the shell 2026-11-17 20:09:21 +05:00
LICENSE build: add the Chalk project skeleton 2026-11-16 21:06:18 +05:00
NOTICE feat: add the layer shell plugin for Qt 2026-11-16 21:32:15 +05:00
README.md docs: add the repository mirrors note 2026-11-17 20:14:11 +05:00

Sanar Chalk

Note

Repository Mirrors

  • git.nuros.org (sanarde/chalk): primary, self-hosted Forgejo instance, accounts restricted to the core team.
  • GitHub (sanarde/chalk): mirror for external contributors. Issues and Pull Requests opened here are welcome and are reviewed and processed by the core team.

About

Desktop shell of SanarDE.

Dependencies

  • Qt 6.8 or newer (Core, Gui, Quick, Network)
  • CMake 3.21 or newer, Ninja
  • A C++20 compiler
  • libxcb, libwayland-client and their headers, and the private headers of QtWaylandClient (the layer shell plugin uses them)
  • Sanar Style, the shared Material You theme and components

At run time:

  • Slate, the window manager of SanarDE. Chalk talks to it through its IPC socket ($SLATE_SOCKET or $XDG_RUNTIME_DIR/slate.sock) and shows "Slate is not running" until the socket is there.
  • seuratd of Sanar Seurat is optional, without it Sanar Style uses its own palette.

Build

cmake -S . -B build -G Ninja -DCMAKE_PREFIX_PATH=<prefix of Sanar Style>
cmake --build build
ctest --test-dir build

The binary is build/src/chalk.

Usage

Start chalk after the session has started, for example with exec-once = chalk in slate.conf. When Sanar Style is not installed in a system prefix, set QML_IMPORT_PATH=<prefix>/lib/qt6/qml and LD_LIBRARY_PATH=<prefix>/lib.

QT_QPA_PLATFORM chooses between X11 (xcb) and Wayland (wayland), the default follows the session. On Wayland Chalk uses wlr-layer-shell through its own plugin, chalk-layer-shell, which is found next to the binary in plugins or in the Qt plugin directory after cmake --install.

chalk --calendar and chalk --launcher open the calendar or the launcher at start.

Chalk owns org.freedesktop.Notifications. If another daemon holds the name, Chalk prints a warning and does not take it. Check with notify-send -a Name "Title" "Body".

In a nested compositor without linux-dmabuf, such as slate --backend winit, run with QT_QUICK_BACKEND=software.

Acknowledgments

  • Qt, the application framework.

License

GPL-3.0-only. See LICENSE.