aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl/meson.build
blob: d6769b84a8df8eae393779460a103755e6dc22cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
executable(
  'hyprctl',
  'main.cpp',
  dependencies: [
    dependency('hyprutils', version: '>= 0.1.1'),
    dependency('re2', required: true)
  ],
  install: true,
)

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',
)