feat(theme,display,wm,power,make): add Anodized theme, editors, multi-monitor arrangement, power timeouts, bar compaction, and replace state preservation

- Replace deprecated AnodeDefault with dark-silvery Anodized default theme
- Add interactive theme editor, duplicator, and non-standard .xth importer to anode-themes (+ CLI --install)
- Fix multi-monitor dwm/lock/vkbd/EDID edge cases and integrate monitor arrangement + 15s revert into anode-display and anode-apply-display
- Gate anode-touchd behind WITH_TOUCHD=1 (keeping anode-vkbd unconditional) and add help/rebuild/install-touch/install-system targets to Makefile
- Add idle screen dim, lock, suspend, and suspend-on-AC timeout controls to anode-power and anode-display backed by power.conf + SIGUSR1
- Prevent lockscreen subtitle overflow and progressively compact status bar segments so focused window titles remain visible
- Preserve workspaces, active desktop, monitor state, floating/fullscreen states, and focus across anode-replace and restarts
This commit is contained in:
Luxferre committed 2026-11-27 08:31:35 +02:00
1 parent bb81541b42
commit 4ec3f59e02
40 files changed
+5843 -768

No files matched your search

+12 -5
View File
@@ -73,9 +73,7 @@ detect_edid_scale() {
if [ "$_dpi" = "96" ] && [ -n "${DISPLAY:-}" ] && command -v xrandr >/dev/null 2>&1; then
_xrandr_dpi="$(xrandr --query 2>/dev/null | awk '
/ connected/ {
if (match($0, /[0-9]+x[0-9]+/) && match($0, /[0-9]+mm x [0-9]+mm/)) {
res = substr($0, RSTART)
}
is_pri = ($0 ~ / primary /)
px = 0; wmm = 0
for (i = 1; i <= NF; i++) {
if ($i ~ /^[0-9]+x[0-9]+(\+[0-9]+\+[0-9]+)?$/ && px == 0) {
@@ -86,10 +84,19 @@ detect_edid_scale() {
}
}
if (px > 0 && wmm > 0) {
printf "%.2f\n", (px * 25.4) / wmm
exit
val = (px * 25.4) / wmm
if (is_pri) {
printf "%.2f\n", val
got = 1
exit
} else if (fallback == "") {
fallback = sprintf("%.2f", val)
}
}
}
END {
if (!got && fallback != "") print fallback
}
' || true)"
if [ -n "${_xrandr_dpi:-}" ]; then
_dpi="$_xrandr_dpi"