mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 04:45:59 +01:00
added make commands
This commit is contained in:
parent
c32917a5ba
commit
3b827a14b6
3 changed files with 20 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -16,3 +16,5 @@ build/
|
|||
*-protocol.c
|
||||
*-protocol.h
|
||||
.ccls-cache
|
||||
|
||||
hyprctl/hyprctl
|
12
Makefile
12
Makefile
|
@ -50,5 +50,17 @@ debug:
|
|||
clear:
|
||||
rm -rf build
|
||||
rm -f *.o *-protocol.h *-protocol.c
|
||||
rm -f ./hyprctl/hyprctl
|
||||
|
||||
all:
|
||||
make config
|
||||
make release
|
||||
cd ./hyprctl && make all && cd ..
|
||||
|
||||
install:
|
||||
make all
|
||||
sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions/
|
||||
sudo cp ./build/Hyprland /usr/bin
|
||||
sudo cp ./hyprctl/hyprctl /usr/bin
|
||||
|
||||
config: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o
|
||||
|
|
5
example/hyprland.desktop
Normal file
5
example/hyprland.desktop
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=Hyprland
|
||||
Comment=An intelligent dynamic tiling Wayland compositor
|
||||
Exec=Hyprland
|
||||
Type=Application
|
Loading…
Reference in a new issue