Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ release is checked here and released on by hand.
boot's gpg-agent ends after the keyring setup, and session programs keep
fewer malloc arenas (tcballard).

- The ring/silent switch's helper is a small C program instead of Python:
about 9 MiB more free memory, and it waits longer between retries while no
audio output is there (tcballard).

### Desktop

- The power, lock and sleep daemon is a small C program instead of Python:
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# make install DESTDIR=<root> OMARCHY=<upstream Omarchy at desktop/upstream.lock> DBUS_NEXT=<unpacked dbus-next 0.2.3 wheel>
#
# The compiles are the on-screen keyboard (wvkbd with this repository's
# patches), the startup cursor helper (wtype) and the power daemon
# patches), the startup cursor helper (wtype), the mute-switch helper and the power daemon
# (omarchy-powerd, against libsystemd's sd-bus: the recipe's makedepends);
# desktop/install-tree puts every file in place.

Expand All @@ -15,13 +15,17 @@ CC ?= cc
CFLAGS ?= -O2
PKG_CONFIG ?= pkg-config

all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype $(BUILD)/omarchy-powerd
all: $(BUILD)/wvkbd-mobintl $(BUILD)/wtype $(BUILD)/omarchy-powerd $(BUILD)/omarchy-mute-switch

$(BUILD)/omarchy-powerd: desktop/configuration/powerd.c
mkdir -p $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wextra -Werror -std=c99 -DHAVE_SD_BUS $< \
$$($(PKG_CONFIG) --cflags --libs libsystemd) -lpthread -lm $(LDFLAGS) -o $@

$(BUILD)/omarchy-mute-switch: desktop/configuration/mute-switch.c
mkdir -p $(BUILD)
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -Wextra -std=c99 desktop/configuration/mute-switch.c $(LDFLAGS) -o $@

$(BUILD)/wvkbd-mobintl:
@test -d "$(WVKBD)" || { echo 'Set WVKBD to the wvkbd v0.20 source' >&2; exit 1; }
@grep -q preferred_buffer_scale /usr/include/wayland-client-protocol.h || \
Expand Down
331 changes: 0 additions & 331 deletions desktop/configuration/mute-switch

This file was deleted.

Loading
Loading