example/hyprland.desktop: fix path
This commit is contained in:
parent
1f1a39d46c
commit
9ea565054a
2 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Hyprland
|
Name=Hyprland
|
||||||
Comment=An intelligent dynamic tiling Wayland compositor
|
Comment=An intelligent dynamic tiling Wayland compositor
|
||||||
Exec=@CMAKE_INSTALL_BINDIR@/start-hyprland
|
Exec=@PREFIX@/@CMAKE_INSTALL_BINDIR@/start-hyprland
|
||||||
Type=Application
|
Type=Application
|
||||||
DesktopNames=Hyprland
|
DesktopNames=Hyprland
|
||||||
Keywords=tiling;wayland;compositor;
|
Keywords=tiling;wayland;compositor;
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,9 @@ in
|
||||||
# Fix hardcoded paths to /usr installation
|
# Fix hardcoded paths to /usr installation
|
||||||
sed -i "s#/usr#$out#" src/render/OpenGL.cpp
|
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" hyprland.pc.in
|
||||||
|
sed -i "s#@PREFIX@/##g" example/hyprland.desktop.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue