From ebd8c2726b8caac6adc00cf15c5631e51d05ba1f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 16 Dec 2024 02:21:38 +0100 Subject: Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name --- meson.build | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 3b21a93..9aacae9 100644 --- a/meson.build +++ b/meson.build @@ -61,23 +61,14 @@ executable( cpp_args : '-DGSR_UI_RESOURCES_PATH="' + gsr_ui_resources_path + '"', ) -executable( - 'gsr-window-name', - ['tools/gsr-window-name/main.c'], - install : true, - dependencies : [dependency('x11')], -) - executable( 'gsr-global-hotkeys', - ['tools/gsr-global-hotkeys/main.c'], - install : true, - dependencies : [ - dependency('libevdev'), - dependency('libudev'), - dependency('libinput'), - dependency('xkbcommon') + [ + 'tools/gsr-global-hotkeys/hotplug.c', + 'tools/gsr-global-hotkeys/keyboard_event.c', + 'tools/gsr-global-hotkeys/main.c' ], + install : true ) install_subdir('images', install_dir : gsr_ui_resources_path) -- cgit v1.2.3