add clearinstall note

This commit is contained in:
NotAShelf 2022-08-24 23:56:44 +03:00
parent 1578a791e5
commit 5324148334
No known key found for this signature in database
GPG Key ID: 13F10C5B244D35D6
1 changed files with 10 additions and 1 deletions

View File

@ -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