Skip to content

Commit 0d3c270

Browse files
author
kRHYME7
committed
Make the makefile as universal for hypr not hyde
1 parent 646da1a commit 0d3c270

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ SRC=src
66
all: clean install
77

88
prepare:
9-
mkdir -p $(PREFIX)/share/hyde/sddm
9+
mkdir -p $(PREFIX)/share/hypr/sddm
1010
mkdir -p /etc/sddm.conf.d/
1111

1212
install: clean prepare
13-
@install -D $(SRC)/hyprland.conf $(PREFIX)/share/hyde/sddm/hyprland.conf && echo "[Installed] $(PREFIX)/share/hyde/sddm/hyprland.conf"
13+
@install -D $(SRC)/hyprland.conf $(PREFIX)/share/hypr/sddm/hyprland.conf && echo "[Installed] $(PREFIX)/share/hypr/sddm/hyprland.conf"
1414
@install -D $(SRC)/sddm-hyprland.conf /etc/sddm.conf.d/sddm-hyprland.conf && echo "[Installed] /etc/sddm.conf.d/sddm-hyprland.conf"
15-
@sed -i 's|CompositorCommand=.*|CompositorCommand=Hyprland -c $(PREFIX)/share/hyde/sddm/hyprland.conf|' /etc/sddm.conf.d/sddm-hyprland.conf && echo "[default sddm conf] $(PREFIX)/share/hyde/sddm/hyprland.conf"
15+
@sed -i 's|CompositorCommand=.*|CompositorCommand=Hyprland -c $(PREFIX)/share/hypr/sddm/hyprland.conf|' /etc/sddm.conf.d/sddm-hyprland.conf && echo "[default sddm conf] $(PREFIX)/share/hypr/sddm/hyprland.conf"
1616

1717

1818
clean:
19+
@rm -rf $(PREFIX)/share/hypr/sddm && echo "[cleaned] $(PREFIX)/share/hypr/sddm"
1920
@rm -rf $(PREFIX)/share/hyde/sddm && echo "[cleaned] $(PREFIX)/share/hyde/sddm"
2021
@rm -rf /etc/sddm.conf.d/sddm-hyprland.conf && echo "[cleaned] /etc/sddm.conf.d/sddm-hyprland.conf"
2122

0 commit comments

Comments
 (0)