Files
OrionOS/Makefile
T
Claude a2092fd989 Add hot corners, media keys, orionshot, orionclip, notification history, autostart, GTK accent update, wallpaper slideshow, ISO build
- wm: hot corner polling via select()-based wm_run loop; TL=Exposé, TR=show desktop, BL=launcher, BR=lock
- wm: XF86 media key grabs (volume, brightness, playback) + Super+V for clipboard
- wm: autostart reads ~/.config/orionos/autostart on startup
- events: media key dispatch (amixer/brightnessctl/playerctl); Super+V → orionclip --show; Print → orionshot
- orionshot: new X11 screenshot tool, full-screen and rubber-band region modes, saves PNG to ~/Pictures/Screenshots/
- orionclip: new clipboard manager daemon; polls clipboard, stores 20 entries, popup via Super+V IPC
- orionnotify: append-only notification history log at ~/.local/share/orionos/notif-history.log
- themes: GTK accent updated from #3A6898 to #1E58A8 to match WM/deskbar
- themes: orionwallpaper gains --slideshow DIR [SECS] mode using feh + sleep loop
- iso: Docker-based archiso builder, live-session xinitrc, profiledef.sh
- Makefile: add orionshot and orionclip to all/clean/install; Docker-based iso target
2026-08-30 20:47:47 +00:00

109 lines
3.0 KiB
Makefile

# OrionOS — top-level build
# Usage:
# make — build all components
# make install — install binaries + theme to /usr/local
# make clean — remove build artifacts
# make iso — build the bootable ISO (requires Arch Linux + archiso)
.PHONY: all wm deskbar launcher installer nebula orionpkg skykit rigel quill lens orionnotify orionlock orionshot orionclip clean install iso
all: wm deskbar launcher installer nebula orionpkg skykit rigel quill lens orionnotify orionlock orionshot orionclip
wm:
$(MAKE) -C wm
deskbar:
$(MAKE) -C deskbar
launcher:
$(MAKE) -C launcher
installer:
$(MAKE) -C installer
nebula:
$(MAKE) -C nebula
orionpkg:
$(MAKE) -C orionpkg
skykit:
$(MAKE) -C skykit
rigel:
$(MAKE) -C rigel
quill:
$(MAKE) -C quill
lens:
$(MAKE) -C lens
orionnotify:
$(MAKE) -C orionnotify
orionlock:
$(MAKE) -C orionlock
orionshot:
$(MAKE) -C orionshot
orionclip:
$(MAKE) -C orionclip
clean:
$(MAKE) -C wm clean
$(MAKE) -C deskbar clean
$(MAKE) -C launcher clean
$(MAKE) -C installer clean
$(MAKE) -C nebula clean
$(MAKE) -C orionpkg clean
$(MAKE) -C skykit clean
$(MAKE) -C rigel clean
$(MAKE) -C quill clean
$(MAKE) -C lens clean
$(MAKE) -C orionnotify clean
$(MAKE) -C orionlock clean
$(MAKE) -C orionshot clean
$(MAKE) -C orionclip clean
install: all
# binaries
install -Dm755 wm/orionwm /usr/local/bin/orionwm
install -Dm755 deskbar/oriondeskbar /usr/local/bin/oriondeskbar
install -Dm755 launcher/orionlauncher /usr/local/bin/orionlauncher
install -Dm755 themes/orionwallpaper /usr/local/bin/orionwallpaper
install -Dm755 nebula/nebula /usr/local/bin/nebula
install -Dm755 orionpkg/orionpkg /usr/local/bin/orionpkg
install -Dm755 rigel/rigel /usr/local/bin/rigel
install -Dm755 quill/quill /usr/local/bin/quill
install -Dm755 lens/lens /usr/local/bin/lens
install -Dm755 orionnotify/orionnotify /usr/local/bin/orionnotify
install -Dm755 orionlock/orionlock /usr/local/bin/orionlock
install -Dm755 orionshot/orionshot /usr/local/bin/orionshot
install -Dm755 orionclip/orionclip /usr/local/bin/orionclip
# GTK theme
mkdir -p /usr/share/themes
cp -r themes/OrionOS /usr/share/themes/
# picom config
install -Dm644 themes/picom.conf /etc/orionos/picom.conf
# wallpaper
mkdir -p /usr/share/orionos/wallpapers
bash themes/wallpapers/generate-default.sh || true
cp -f themes/wallpapers/orionos-default.png /usr/share/orionos/wallpapers/ 2>/dev/null || true
@echo ""
@echo "OrionOS installed. Add this to ~/.xinitrc to start:"
@echo ""
@echo " orionwallpaper"
@echo " picom --config /etc/orionos/picom.conf &"
@echo " oriondeskbar &"
@echo " orionnotify &"
@echo " orionclip &"
@echo " exec orionwm"
iso:
@echo "Building OrionOS ISO via Docker..."
docker build -t orionos-iso-builder -f iso/docker/Dockerfile .
mkdir -p iso/output
docker run --rm --privileged -v "$(PWD)/iso/output:/output" orionos-iso-builder