Shows a compact badge in the DankBar with counts for Issues, Merge Requests and Incidents assigned to the authenticated user (as configured in the glab CLI). Includes a popup with a breakdown and quick links to the web UI filtered for the current user.
- Badge in the bar showing the total count (issues + MRs + incidents)
- Popup with separate counts and "open in browser" links
- Scope can be configured per Group (
--group) or per Repo (--repo) - Uses the authenticated
glabuser for links (retrieved viaglab api user) - Configurable refresh interval and what to count (issues/mrs/incidents)
mkdir -p ~/.config/DankMaterialShell/plugins/
git clone <this-repo-url> gitlabNotifierThen enable the plugin via DMS Settings → Plugins and add the gitlabNotifier widget to your DankBar.
- Open DMS Settings (Super + ,)
- Enable the
GitLab Notifierplugin - Open the plugin settings and set either
Group(preferred) orRepo(fallback) - Configure
glab binaryif not simplyglab - The widget will query
glabperiodically (configurable) and update counts
Group: optional. If present the plugin uses--group <value>for queries and web links.Repo: optional. Used with--repo <owner/project>when Group is not set.glabBinary: binary name/path (default:glab).gitlabWebUrl: web base URL (default:https://gitlab.com) — used to build links.refreshInterval: seconds between automatic refreshes.Count Issues,Count Merge Requests,Count Incidents: toggles to include/exclude categories.
plugin.json— plugin manifestGitlabNotifierWidget.qml— main widget and popup implementationGitlabNotifierSettings.qml— settings UIREADME.md— this file
This plugin requests:
process— to run theglabCLIsettings_read/settings_write— to read and persist plugin settings
glabCLI installed and configured (authenticated) and available in PATH or referenced viaglabBinarysetting.Font Awesome(e.g. Font Awesome 6 Free) — required so the plugin icon displays correctly.
The plugin executes glab commands to obtain counts and user info:
- Check
glabbinary and authentication:glab auth status - Get authenticated username:
glab api user --output json(parsed forusername) - Issues count (by repo or group):
glab issue list --repo <repo> --assignee=@me --state opened --output json(or--group <group>) - Merge requests count:
glab mr list --repo <repo> --assignee=@me --state opened --output json - Incidents count (when supported):
glab incident list --repo <repo> --assignee=@me --state opened --output json
The widget parses JSON, supports NDJSON and numeric output, and falls back gracefully if incident command is not available.
- If counts are zero but the CLI shows results, check
glabBinarysetting and ensureglabworks in a terminal:glab issue list --group <group> --assignee=@me --output json - If
glabis not authenticated, run:glab auth login - If your
glabversion lacksincident, the incidents count will be skipped and a warning will be shown in the popup.
