mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-26 17:24:00 +03:00
save wlroots and restore
This commit is contained in:
parent
b46f45befa
commit
54e8e78612
7
Makefile
7
Makefile
@ -107,6 +107,9 @@ all:
|
||||
cd ./hyprctl && make all && cd ..
|
||||
|
||||
install:
|
||||
[ ! -d /usr/include/wlr ] || mv /usr/include/wlr /usr/include/wlrBackup
|
||||
[ ! -f /usr/lib/libwlroots.so ] || mv /usr/lib/libwlroots.so /usr/lib/libwlroots.so.backup
|
||||
|
||||
make all
|
||||
mkdir -p ${PREFIX}/share/wayland-sessions
|
||||
cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions/
|
||||
@ -118,6 +121,10 @@ install:
|
||||
cp ./assets/wall_4K.png ${PREFIX}/share/hyprland
|
||||
cp ./assets/wall_8K.png ${PREFIX}/share/hyprland
|
||||
|
||||
rm -rf /usr/include/wlr
|
||||
[ ! -d /usr/include/wlrBackup ] || mv /usr/include/wlrBackup /usr/include/wlr
|
||||
[ ! -f /usr/lib/libwlroots.so.backup ] || mv -f /usr/lib/libwlroots.so.backup /usr/lib/libwlroots.so
|
||||
|
||||
uninstall:
|
||||
rm -f ${PREFIX}/share/wayland-sessions/hyprland.desktop
|
||||
rm -f ${PREFIX}/bin/Hyprland
|
||||
|
Loading…
Reference in New Issue
Block a user