3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-04 04:35:31 +00:00

example/hyprland.desktop: fix path

This commit is contained in:
Mihai Fufezan
2025-12-26 14:39:29 +02:00
parent 1f1a39d46c
commit 9ea565054a
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=@CMAKE_INSTALL_BINDIR@/start-hyprland
Exec=@PREFIX@/@CMAKE_INSTALL_BINDIR@/start-hyprland
Type=Application
DesktopNames=Hyprland
Keywords=tiling;wayland;compositor;

View File

@ -108,8 +108,9 @@ in
# Fix hardcoded paths to /usr installation
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
# Remove extra @PREFIX@ to fix pkg-config paths
# Remove extra @PREFIX@ to fix some paths
sed -i "s#@PREFIX@/##g" hyprland.pc.in
sed -i "s#@PREFIX@/##g" example/hyprland.desktop.in
'';
env = {