Commit Graph
21 Commits
Author SHA1 Message Date
huntedbytheirs 33f7264184 build(Makefile): auto-deps (-MMD -MP) and .PHONY targets
- Add -MMD -MP to CFLAGS and SMSG_CFLAGS for auto-generated
  header dependency files (*.d) in objects/ subdirs
- Add -include directive to load .d files so header changes
  trigger rebuilds without manual Makefile updates
- Declare abstract targets as .PHONY to prevent collisions
  with files named clean/all/debug/release/etc.
- Add .d cleanup to make target
2026-07-05 20:36:07 -04:00
huntedbytheirs 79e7e26a49 build(Makefile): LLD linker, objects/ dir, LTO+linker opts
- Compiler selection: Remove TCC, default to Clang, GCC fallback
- LLD linker: -fuse-ld=lld for all builds (peachwm + peachmsg)
- Object relocation: .o files output to objects/{src,parser,protocols,peachmsg}/
- Clean target: rm -rf objects + transitional stale .o cleanup
- Release: -flto=thin, linker opts (gc-sections, icf=safe, z now, etc.)
- Release: strip both peachwm and peachmsg binaries
- README + CONTRIBUTING: Add LLD dependency, update build docs
- .gitignore: Add objects/ directory
2026-07-05 20:27:47 -04:00
huntedbytheirs 4ac03d4059 feat(effects): implement window rounded corners via scenefx
- Parse effects.windows.rounded/rounding from Lua config
- Add CfgEffectsWindows and CfgEffects structs to Config
- Switch to fx_renderer_create for scenefx support
- Replace 5 wlr/types/wlr_scene.h includes with scenefx variant
- Add config_get_corner_radius() helper (light=6px, heavy=14px)
- Apply corner_radii_top/bottom/left/right to 4 border rects
- Apply wlr_scene_buffer_set_corner_radius to surface buffers
- Disable on fullscreen, restore on exit
- Re-apply on resize and config hot-reload
- Add -Wno-extra-semi for scenefx header compatibility
- All targets compile cleanly (make test passes)
2026-07-02 05:00:26 -04:00
huntedbytheirs 20e38fe682 build: fix debug target - add -Wno-pre-c23-compat for wlroots headers 2026-07-02 02:28:35 -04:00
huntedbytheirs 15f12be7e4 Add a cool ass logo :) 2026-07-02 02:25:06 -04:00
huntedbytheirs dfafc08fde refactor(peachmsg): migrate to nullptr, -std=c23; docs: update C references to C23 2026-07-02 02:09:00 -04:00
huntedbytheirs 9581031dac build: migrate from -std=c11 to -std=c23, add TCC guard and -Wno-c23-extensions 2026-07-02 01:54:21 -04:00
huntedbytheirs b5ccb2621b Massive code refactor 2026-07-02 01:24:16 -04:00
huntedbytheirs c10722aa69 live laugh hate rust 2026-06-30 22:54:16 -04:00
huntedbytheirs 8da469afb4 Add a desktop file for sddm/ly/gdm/etc 2026-06-30 18:43:12 -04:00
huntedbytheirs 0ee686356f update smsg to peachwm 2026-06-29 02:27:03 -04:00
huntedbytheirs b903150de2 Fix a dumb makefile mistake. All packages use make release 2026-06-29 02:14:51 -04:00
huntedbytheirs 7721aeb945 Add automatic packaging, with make test 2026-06-29 02:04:34 -04:00
huntedbytheirs fb9add0778 Add a swaymsg-like IPC, and add some more docs. 2026-06-29 01:33:11 -04:00
huntedbytheirs ef934ee44e Fix update makefile for ci/cd 2026-06-28 19:12:38 -04:00
huntedbytheirs b7c1e74d19 reverse stupidity 2026-06-28 18:39:08 -04:00
huntedbytheirs 1024a222be Add features to Makefile
make release - compiles with clang, uses more aggressive compilation
flags for errors/warnings.
CC=tcc/gcc/clang make - lets you select your wanted compiler.
2026-06-28 18:03:05 -04:00
huntedbytheirs 4a66649863 Fix recursive CFLAGS 2026-06-28 17:51:31 -04:00
huntedbytheirs 1fb2a05ddf Add compiler detection + optimizations
Added compiler detection:
TCC->Clang->GCC
Uses -O2 optimizations now
Uses -march=native by default, but by using
```make package```, it creates a distrobutable
binary instead.
2026-06-28 17:47:34 -04:00
huntedbytheirs f529f03315 Massive code cleanup
Cleaned up:
Makefile
config.mk/.h
nix files (by removing them for now)
Removed dwl likeness.
2026-06-28 17:39:02 -04:00
huntedbytheirs 763512a24f peachwm birth 2026-06-28 17:26:07 -04:00