Calendar
gnarus-calendar is the native GNARUS calendar popup for Wayland/Hyprland, written in Rust with Relm4 and GTK4 and positioned with gtk4-layer-shell. It opens from the Waybar date module and provides a compact month view, agenda, event editor and reminders.
Opening
Section titled “Opening”Click the date in the Waybar top bar. The module is configured as clock#date with "on-click" bound to the GNARUS taskbar calendar action, which runs:
gnarus-calendar toggleThe popup is a single-instance layer-shell surface: it stays running after hiding, so toggle, show and hide go through a UNIX socket IPC at $XDG_CACHE_HOME/gnarus-calendar/gnarus-calendar.sock. It closes when you click anywhere outside it, click the date again, press Escape, or when it loses focus.
Commands
Section titled “Commands”gnarus-calendar # toggle the popupgnarus-calendar show # show the popupgnarus-calendar hide # hide the popupgnarus-calendar config # open the config file in a terminal with sudognarus-calendar config-path # print the config pathgnarus-calendar reload # reload the external CSS/theme on the running popupgnarus-calendar import file.ics # import an ICS filegnarus-calendar export --output calendar.icsgnarus-calendar sync # run a sync with the configured CalDAV/WebDAV accountgnarus-calendar status # print database/config/style/theme statusgnarus-calendar service # run the reminder schedulerConfiguration
Section titled “Configuration”All configuration lives in /etc/gnarus-calendar/config.toml. The application uses built-in defaults when the file is missing. Open it for editing with gnarus-calendar config, which launches a terminal with sudo (terminal from $TERMINAL or the [terminal] setting, editor from $VISUAL/$EDITOR or the [editor] setting, default nano).
[appearance]font_family = "monospace"font_size = 12 # valid range: 8-32
[locale]language = "en-US" # en-US | pt-BR
[calendar]week_start = "monday" # monday | sundaydefault_event_duration_minutes = 60default_reminder_minutes = 10sync_interval_minutes = 15
[popup]enable = false # false opens below the Waybar click/cursoranchor = "top-right" # used only when enable = truemargin_top = 8margin_right = 10margin_bottom = 8margin_left = 8
[editor]command = "" # falls back to $VISUAL, then $EDITOR, then nanoargs = []
[terminal]command = "" # falls back to $TERMINAL, then kittyargs = []The gear button in the popup opens the same config file. The popup reloads the config on each restart; gnarus-calendar reload refreshes the external CSS/theme on the running popup.
/etc/gnarus-calendar/config.toml system-wide config (the package ships a default)/etc/gnarus-calendar/style.css popup structure styles/etc/gnarus-calendar/theme.css packaged default theme/etc/gnarus-calendar/themes/ GNARUS theme files$XDG_DATA_HOME/gnarus-calendar/ SQLite database$XDG_STATE_HOME/gnarus-calendar/ runtime state$XDG_CACHE_HOME/gnarus-calendar/ IPC socket, events toggle and active themeEvents and reminders
Section titled “Events and reminders”Events are stored in a SQLite database. Event reminders can be disabled or configured in hours and minutes before the start; all-day events can additionally repeat their notification at a chosen interval during the day. Events that ended before the current local day are permanently removed, and new events cannot be created on past dates.
Reminders are reliable while gnarus-calendar service is running, or when the provided user systemd service is enabled:
systemctl --user enable --now gnarus-calendar.serviceThe events section is controlled by the in-window toggle and persisted in $XDG_CACHE_HOME/gnarus-calendar/events-enabled; it is not configured in config.toml.
ICS import and export are supported through gnarus-calendar import and gnarus-calendar export. CalDAV support is implemented as a maintained internal HTTP/XML client foundation; account management and full database reconciliation are the next integration step.
Styling
Section titled “Styling”Styling is external: /etc/gnarus-calendar/style.css provides structure, /etc/gnarus-calendar/theme.css provides the packaged default, /etc/gnarus-calendar/themes/ contains the GNARUS themes, and $XDG_CACHE_HOME/gnarus-calendar/theme.css is the user-level active theme written by the GNARUS theme switcher.
Supported GNARUS themes: Dark, Dark Float, Dark Silver, Dark Silver Float, Slate and Slate Float. The popup follows the desktop theme family and reads the active theme from ~/.config/gnarus/.active-theme.
Package
Section titled “Package”gnarus-calendar is packaged from gnarus-pkgbuild at arch/gnarus-calendar/PKGBUILD. It installs /usr/bin/gnarus-calendar, the defaults under /etc/gnarus-calendar/ and the user systemd unit at /usr/lib/systemd/user/gnarus-calendar.service.