From 773bd04764f8407f90bf5bd10d62cd1712594892 Mon Sep 17 00:00:00 2001 From: Weiseguy Date: Fri, 22 Sep 2023 06:50:35 -0500 Subject: Add desktop entry file --- Makefile | 5 ++++- dwl.desktop | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 dwl.desktop diff --git a/Makefile b/Makefile index ccca079..09c2c53 100644 --- a/Makefile +++ b/Makefile @@ -52,8 +52,11 @@ install: dwl mkdir -p $(DESTDIR)$(MANDIR)/man1 cp -f dwl.1 $(DESTDIR)$(MANDIR)/man1 chmod 644 $(DESTDIR)$(MANDIR)/man1/dwl.1 + mkdir -p $(DESTDIR)$(PREFIX)/share/wayland-sessions + cp -f dwl.desktop $(DESTDIR)$(PREFIX)/share/wayland-sessions/dwl.desktop + chmod 644 $(DESTDIR)$(PREFIX)/share/wayland-sessions/dwl.desktop uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1 + rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1 $(DESTDIR)$(PREFIX)/share/wayland-sessions/dwl.desktop .SUFFIXES: .c .o .c.o: diff --git a/dwl.desktop b/dwl.desktop new file mode 100644 index 0000000..e1380f7 --- /dev/null +++ b/dwl.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=dwl +Comment=dwm for Wayland +Exec=dwl +Type=Application -- cgit v1.2.3