diff options
author | LOSEARDES77 <[email protected]> | 2024-04-04 09:21:20 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-04 10:21:20 +0300 |
commit | 1b43cd5231838c01320c9213945a1afa967c9b45 (patch) | |
tree | 4a7f9c568e923a1b021a59e0620b0c7929e1241f /Makefile | |
parent | b7d71bc0e1084bc1a296ae906503709a74fde4d9 (diff) | |
download | Hyprland-1b43cd5231838c01320c9213945a1afa967c9b45.tar.gz Hyprland-1b43cd5231838c01320c9213945a1afa967c9b45.zip |
hyprctl: Add shell completions (#5404)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,15 +36,21 @@ install: mkdir -p ${PREFIX}/share/wayland-sessions mkdir -p ${PREFIX}/bin + mkdir -p ${PREFIX}/share/hyprland + mkdir -p ${PREFIX}/share/bash-completion + mkdir -p ${PREFIX}/share/fish/completions + mkdir -p ${PREFIX}/share/zsh/site-functions cp -f ./build/Hyprland ${PREFIX}/bin cp -f ./build/hyprctl/hyprctl ${PREFIX}/bin cp -f ./build/hyprpm/hyprpm ${PREFIX}/bin + cp -f ./hyprctl/hyprctl.bash ${PREFIX}/share/bash-completion/hyprctl + cp -f ./hyprctl/hyprctl.fish ${PREFIX}/share/fish/completions/hyprctl.fish + cp -f ./hyprctl/hyprctl.zsh ${PREFIX}/share/zsh/site-functions/_hyprctl chmod 755 ${PREFIX}/bin/Hyprland chmod 755 ${PREFIX}/bin/hyprctl chmod 755 ${PREFIX}/bin/hyprpm cd ${PREFIX}/bin && ln -sf Hyprland hyprland if [ ! -f ${PREFIX}/share/wayland-sessions/hyprland.desktop ]; then cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions; fi - mkdir -p ${PREFIX}/share/hyprland cp ./assets/wall* ${PREFIX}/share/hyprland mkdir -p ${PREFIX}/share/xdg-desktop-portal cp ./assets/hyprland-portals.conf ${PREFIX}/share/xdg-desktop-portal |