2024-09-11 18:00:47 +02:00
|
|
|
executable(
|
|
|
|
'hyprctl',
|
|
|
|
'main.cpp',
|
2024-06-11 17:17:45 +02:00
|
|
|
dependencies: [
|
|
|
|
dependency('hyprutils', version: '>= 0.1.1'),
|
2024-12-16 20:22:36 +01:00
|
|
|
dependency('re2', required: true)
|
2024-06-11 17:17:45 +02:00
|
|
|
],
|
2024-09-11 18:00:47 +02:00
|
|
|
install: true,
|
2022-06-12 22:57:03 +02:00
|
|
|
)
|
2024-04-04 09:21:20 +02:00
|
|
|
|
2024-09-11 18:00:47 +02:00
|
|
|
install_data(
|
|
|
|
'hyprctl.bash',
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'bash-completion/completions'),
|
|
|
|
install_tag: 'runtime',
|
|
|
|
rename: 'hyprctl',
|
|
|
|
)
|
|
|
|
install_data(
|
|
|
|
'hyprctl.fish',
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'),
|
|
|
|
install_tag: 'runtime',
|
|
|
|
)
|
|
|
|
install_data(
|
|
|
|
'hyprctl.zsh',
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'),
|
|
|
|
install_tag: 'runtime',
|
|
|
|
rename: '_hyprctl',
|
|
|
|
)
|