From 5324148334614e952fc0614d121a35452d1450c8 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 24 Aug 2022 23:56:44 +0300 Subject: [PATCH] add clearinstall note --- pages/Getting Started/Installation.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/Getting Started/Installation.md b/pages/Getting Started/Installation.md index f7db4a1..7727a3e 100644 --- a/pages/Getting Started/Installation.md +++ b/pages/Getting Started/Installation.md @@ -119,9 +119,18 @@ that (`gcc>=12.1.0` or `clang>=15`) ```Plain git clone --recursive https://github.com/hyprwm/Hyprland cd Hyprland -sudo make install +sudo make install ``` +Do note that `sudo make install` will copy the example .desktop file to `/usr/share/wayland-sessions/` directory, +promptly overriding the existent .desktop file from previous installations. + +If you would like to move the file yourself, or if you find yourself running `sudo make install` frequently +and overriding your previous .desktop file (which is definitely a case for NVIDIA users who run Hyprland +through a wrapper script); you can use `sudo make cleaninstall`, which will do everything `sudo make install does` +_except_ to copy the desktop file. You may use `sudo make cleaninstall` everytime you need to rebuild fromm source, +which happens quite often as Hyprland receives active development. + ### Meson ```plain