mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
Introduce new module implementing the status notifier spec (https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/). The core dbus logic and spec implementation is from swaybar (https://github.com/swaywm/sway/tree/master/swaybar/tray), with rendering stripped out and a switch to tllist. The dbus loop is async and not re-entrant so the module lock is taken each time we process a message (and when we process content). To reduce memory usage the icon pixmaps are immutable and reference counted. So they can be passed between the module and the particles (through tags) without copying. Work to be done in future diffs: 1. Tray interactivity/menu support 2. Support KDE search paths for the tray. Can it be implemented with yml scripting?
54 lines
2.7 KiB
Meson
54 lines
2.7 KiB
Meson
option(
|
|
'backend-x11', type: 'feature', value: 'enabled', description: 'XCB (X11) backend')
|
|
option(
|
|
'backend-wayland', type: 'feature', value: 'enabled', description: 'Wayland backend')
|
|
option(
|
|
'core-plugins-as-shared-libraries', type: 'boolean', value: false,
|
|
description: 'Compiles modules, particles and decorations as shared libraries, which are loaded on-demand')
|
|
|
|
option('plugin-alsa', type: 'feature', value: 'auto',
|
|
description: 'ALSA support')
|
|
option('plugin-backlight', type: 'feature', value: 'auto',
|
|
description: 'Backlight support')
|
|
option('plugin-battery', type: 'feature', value: 'auto',
|
|
description: 'Battery support')
|
|
option('plugin-clock', type: 'feature', value: 'auto',
|
|
description: 'Clock support')
|
|
option('plugin-cpu', type: 'feature', value: 'auto',
|
|
description: 'CPU monitoring support')
|
|
option('plugin-disk-io', type: 'feature', value: 'auto',
|
|
description: 'Disk I/O support')
|
|
option('plugin-dwl', type: 'feature', value: 'auto',
|
|
description: 'dwl (dwm for wayland) support')
|
|
option('plugin-foreign-toplevel', type: 'feature', value: 'auto',
|
|
description: 'Foreign toplevel (window tracking for Wayland) support')
|
|
option('plugin-mem', type: 'feature', value: 'auto',
|
|
description: 'Memory monitoring support')
|
|
option('plugin-mpd', type: 'feature', value: 'auto',
|
|
description: 'Music Player Daemon (MPD) support')
|
|
option('plugin-i3', type: 'feature', value: 'auto',
|
|
description: 'i3+Sway support')
|
|
option('plugin-label', type: 'feature', value: 'auto',
|
|
description: 'Label support')
|
|
option('plugin-network', type: 'feature', value: 'auto',
|
|
description: 'Network monitoring support')
|
|
option('plugin-pipewire', type: 'feature', value: 'auto',
|
|
description: 'Pipewire support')
|
|
option('plugin-pulse', type: 'feature', value: 'auto',
|
|
description: 'PulseAudio support')
|
|
option('plugin-removables', type: 'feature', value: 'auto',
|
|
description: 'Removables (USB sticks, CD-ROM etc) monitoring support')
|
|
option('plugin-river', type: 'feature', value: 'auto',
|
|
description: 'River support')
|
|
option('plugin-script', type: 'feature', value: 'auto',
|
|
description: 'Script support')
|
|
option('plugin-sway-xkb', type: 'feature', value: 'auto',
|
|
description: 'keyboard support for Sway')
|
|
option('plugin-tray', type: 'feature', value: 'auto',
|
|
description: 'Tray support')
|
|
option('plugin-xkb', type: 'feature', value: 'auto',
|
|
description: 'keyboard support for X11')
|
|
option('plugin-xwindow', type: 'feature', value: 'auto',
|
|
description: 'XWindow (window tracking for X11) support')
|
|
option('system-nanosvg', type: 'feature', value: 'disabled',
|
|
description: 'use system\'s nanosvg instead of the bundled version')
|