Enable MT6797 Wi-Fi/BT, PipeWire audio GUI, cursor autohide, and dev tools
- Add MT6797 CONSYS Wi-Fi/BT factory-firmware patch (0005), native EAPOL TX, 5 GHz NO_IR/regulatory-notifier fixes, TKIP/CCMP admission, initramfs regdb, and geminux-wifi-nvram - Order OpenRC polkit startup before NetworkManager/ModemManager and harden geminux-net with non-blocking scans, mesh SSID grouping, password masking toggle, and BT A2DP/HFP/LE/HID support - Add geminux-audio PipeWire/WirePlumber/UCM2 playback & recording control GUI alongside st and dmenu XFixes cursor autohide - Preinstall requested CLI/dev tools (bash, coreutils, build-base, git, nmtui, perl/SSL, curl-dev, janet, jpm, etc.) and set bash as system-wide default shell
This commit is contained in:
1 parent
ba7b86e570
commit
6aea73cbeb
92 files changed
+5524
-198
No files matched your search
@@ -14,6 +14,7 @@
|
||||
#define HIT_SUSPEND 6
|
||||
#define HIT_REBOOT 7
|
||||
#define HIT_POWER 8
|
||||
#define HIT_MIXER 9
|
||||
|
||||
typedef struct {
|
||||
gemui_app_t *app;
|
||||
@@ -104,10 +105,12 @@ static void on_draw(gemui_app_t *app, cairo_t *cr, int w, int h, void *ud) {
|
||||
snprintf(btxt, sizeof(btxt), "%d%%", (int)(bnorm * 100.0 + 0.5));
|
||||
gemui_draw_slider(app, cr, st->bri_rect, "Display Backlight", bnorm, btxt, HIT_BRI, 0, false);
|
||||
|
||||
st->vol_rect = (gemui_rect_t){pad, 210, cw, 104};
|
||||
st->vol_rect = (gemui_rect_t){pad, 210, cw - 240, 104};
|
||||
char vtxt[32];
|
||||
snprintf(vtxt, sizeof(vtxt), "%d%%", st->vol_pct);
|
||||
gemui_draw_slider(app, cr, st->vol_rect, "Master Audio Volume", st->vol_pct / 100.0, vtxt, HIT_VOL, 0, false);
|
||||
gemui_draw_button(app, cr, (gemui_rect_t){pad + cw - 228, 210, 228, 104},
|
||||
"Audio Mixer", HIT_MIXER, 0, true, false, false);
|
||||
|
||||
gemui_draw_text(cr, t, (gemui_rect_t){pad, 330, cw, 40},
|
||||
"MT6797X Power Profile (A72 Big Cluster + Schedutil)",
|
||||
@@ -175,6 +178,9 @@ static void on_ptr(gemui_app_t *app, int type, int x, int y, unsigned int btn, v
|
||||
} else if (hit->id == HIT_VOL) {
|
||||
st->active_drag = HIT_VOL;
|
||||
set_volume_norm(st, (double)(x - st->vol_rect.x - 16) / (st->vol_rect.w - 32));
|
||||
} else if (hit->id == HIT_MIXER) {
|
||||
const char *cmd[] = {"geminux-audio", NULL};
|
||||
gemui_spawn_detached(cmd);
|
||||
} else if (hit->id == HIT_PROF) {
|
||||
static const char *pnames[3] = {"eco", "balanced", "performance"};
|
||||
st->profile = hit->val;
|
||||
|
||||
Reference in new issue
Block a user