nebula/nebula.c (~600 lines, single-file, native Xlib/Xft): - Display tab: resolution cycling via xrandr, DPI toggle (96/144), brightness control via brightnessctl - Appearance tab: wallpaper reset/open, shows active GTK/icon theme - Input tab: key repeat delay + rate steppers (reads live from XKB), tap-to-click and natural scrolling toggles via xinput - About tab: version, component, platform info - Fixed-size 700×500 window, dark-navy palette, sidebar nav with accent mark on selected tab, dirty-state indicator, Apply/Close - Escape/Q/Enter shortcuts; Enter applies pending changes Wired up: - Root Makefile: nebula target, install -Dm755 nebula/nebula - Right-click desktop menu: "System Settings" → nebula - ISO: binary installed to /usr/local/bin/nebula, Super+S xbindkeys shortcut, file permissions map entry - .gitignore: nebula/nebula binary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
340 B
Makefile
18 lines
340 B
Makefile
BIN = nebula
|
|
|
|
CC = gcc
|
|
CFLAGS = -Wall -Wextra -O2 \
|
|
$(shell pkg-config --cflags x11 xft fontconfig 2>/dev/null)
|
|
LIBS = $(shell pkg-config --libs x11 xft fontconfig 2>/dev/null) \
|
|
-lX11 -lXft -lfontconfig
|
|
|
|
SRC = nebula.c
|
|
|
|
$(BIN): $(SRC)
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
|
|
|
|
clean:
|
|
rm -f $(BIN)
|
|
|
|
.PHONY: clean
|