commit 05f8319c4e65c6f3a588657c2dd00045053fc252 parent fdba2f33e3269e71a6060a442da718a33eb7ed5b Author: dalem <lain@dalem.foo> Date: Mon, 2 Feb 2026 23:07:24 +0100 Add an install block in Makefile and add a README - added an option to install the library + swcsnap in the g2b converted Makefile - added a simple README.md file and renamed original README.md file to README.original Diffstat:
| M | .gitignore | | | 26 | +------------------------- |
| M | Makefile | | | 13 | ++++++++++++- |
| R | README.md -> README.original | | | 0 | |
| A | REAMDE.md | | | 18 | ++++++++++++++++++ |
4 files changed, 31 insertions(+), 26 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,26 +1,2 @@ *.o -*.lo -.*.sw* - -protocol/server-decoration-protocol.c -protocol/server-decoration-server-protocol.h -protocol/swc-protocol.c -protocol/swc-server-protocol.h -protocol/wayland-drm-protocol.c -protocol/wayland-drm-server-protocol.h -protocol/xdg-decoration-unstable-v1-protocol.c -protocol/xdg-decoration-unstable-v1-server-protocol.h -protocol/xdg-shell-protocol.c -protocol/xdg-shell-server-protocol.h -protocol/linux-dmabuf-unstable-v1-protocol.c -protocol/linux-dmabuf-unstable-v1-server-protocol.h - -/.deps/ -/swc.pc -/libswc/libswc.a -/libswc/libswc.so* -/launch/swc-launch -/cursor/convert_font -/cursor/cursor_data.h -/example/wm - +*.a diff --git a/Makefile b/Makefile @@ -242,10 +242,21 @@ swc.pc: swc.pc.in -e 's:@REQUIRES_PRIVATE@::' \ ${.ALLSRC} > ${.TARGET} -.PHONY: all build clean +.PHONY: all build clean install all: build build: libswc/libswc.a launch/swc-launch cursor/cursor_data.h swc.pc +install: build + install -d ${DESTDIR}${BINDIR} + install -d ${DESTDIR}${LIBDIR} + install -d ${DESTDIR}${INCLUDEDIR} + install -d ${DESTDIR}${PKGCONFIGDIR} + install -m 755 launch/swc-launch ${DESTDIR}${BINDIR}/ + install -m 644 libswc/libswc.a ${DESTDIR}${LIBDIR}/ + install -m 644 libswc/swc.h ${DESTDIR}${INCLUDEDIR}/ + install -m 644 ${PROTO_GEN_H} ${DESTDIR}${INCLUDEDIR}/ + install -m 644 swc.pc ${DESTDIR}${PKGCONFIGDIR}/ + clean: rm -f swc.pc \ ${PROTO_GEN_C} ${PROTO_GEN_H} \ diff --git a/README.md b/README.original diff --git a/REAMDE.md b/REAMDE.md @@ -0,0 +1,18 @@ +neuswc +------ + +neuswc is a fork of [swc](https://github.com/michaelforney/swc/) for [hevel window manager](hevel.derivelinux.org). + +It introduces bunch of new features. + +features +-------- + +- z axis ordering +- more cursor functions +- zooming +- experimental subsurface support +- fullscreen +- double window borders +- wallpapers +- probably more i forgot about