modules/dwl: new module

This commit is contained in:
Ogromny 2022-12-13 15:18:41 +01:00 committed by Daniel Eklöf
parent 6027b2728b
commit f5cfc103d0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
10 changed files with 625 additions and 5 deletions

View file

@ -16,6 +16,8 @@ plugin_pipewire_enabled = pipewire.found()
pulse = dependency('libpulse', required: get_option('plugin-pulse'))
plugin_pulse_enabled = pulse.found()
plugin_dwl_enabled = get_option('plugin-dwl').allowed()
# Module name -> (source-list, dep-list)
mod_data = {
'alsa': [[], [m, alsa]],
@ -33,6 +35,10 @@ mod_data = {
'sway-xkb': [['i3-common.c', 'i3-common.h'], [dynlist, json]],
}
if plugin_dwl_enabled
mod_data += {'dwl': [[], [dynlist]]}
endif
if plugin_mpd_enabled
mod_data += {'mpd': [[], [mpd]]}
endif