aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorLOSEARDES77 <[email protected]>2024-04-04 09:21:20 +0200
committerGitHub <[email protected]>2024-04-04 10:21:20 +0300
commit1b43cd5231838c01320c9213945a1afa967c9b45 (patch)
tree4a7f9c568e923a1b021a59e0620b0c7929e1241f /Makefile
parentb7d71bc0e1084bc1a296ae906503709a74fde4d9 (diff)
downloadHyprland-1b43cd5231838c01320c9213945a1afa967c9b45.tar.gz
Hyprland-1b43cd5231838c01320c9213945a1afa967c9b45.zip
hyprctl: Add shell completions (#5404)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71097960..e0a001b8 100644
--- a/Makefile
+++ b/Makefile
@@ -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