Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name

This commit is contained in:
dec05eba
2024-12-16 02:21:38 +01:00
parent 970d87975b
commit ebd8c2726b
11 changed files with 480 additions and 450 deletions

View File

@@ -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)