Fix lid wake blanking, passcode lag, idle drain, zero-log privacy default, and replace Conky with native dwm clock

This commit is contained in:
Luxferre committed 2026-11-05 08:07:10 +02:00
1 parent 11ec778c2f
commit 1d71bc81d8
42 files changed
+732 -267

No files matched your search

+12 -3
View File
@@ -1267,6 +1267,9 @@ handle_builtin_toggle(const char *toggle_name)
close(fd);
}
spawn_detached_sh("sxmo_hook_statusbar.sh audio");
} else if (strcmp(toggle_name, "ext_logging") == 0) {
int rc = system("doas -n /usr/bin/bananarchy-engmenu-ctl logging toggle >/dev/null 2>&1 || /usr/bin/bananarchy-engmenu-ctl logging toggle >/dev/null 2>&1");
(void)rc;
} else if (strcmp(toggle_name, "notif_clear_all") == 0) {
clear_all_notifications_now();
}
@@ -2888,11 +2891,17 @@ open_builtin_menu(const char *menu_name, int keep_idx)
add_menu_item(label, "@menu:timezone", 1);
if (!duress) {
int ext_log_on = (access("/tmp/bananarchy_ext_logging", F_OK) == 0 ||
access("/etc/bananarchy/ext_logging", F_OK) == 0);
snprintf(label, sizeof(label), "%s Extended Logging %s", ICON_INF,
ext_log_on ? ICON_TON : ICON_TOF);
add_menu_item(label, "@toggle:ext_logging", 1);
snprintf(label, sizeof(label), "%s Hooks", ICON_TRM);
add_menu_item(label, "sxmo_hookmenu.sh", 0);
snprintf(label, sizeof(label), "%s Log", ICON_INF);
snprintf(cmd, sizeof(cmd), "sxmo_terminal.sh tail -n 100 -f %s/sxmo.log", home);
add_menu_item(label, cmd, 0);
if (ext_log_on) {
snprintf(label, sizeof(label), "%s Log", ICON_INF);
add_menu_item(label, "sxmo_terminal.sh tail -n 100 -f /tmp/sxmo.log", 0);
}
snprintf(label, sizeof(label), "%s Version", ICON_INF);
add_menu_item(label, "sxmo_terminal.sh sxmo_version.sh --block", 0);
}