aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl/meson.build
blob: 455f57393a6dbeb8ec03faea5f935a082abf3c00 (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
executable(
  'hyprctl',
  'main.cpp',
  dependencies: [
    dependency('hyprutils', version: '>= 0.1.1'),
  ],
  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',
)