Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging

This commit is contained in:
Luxferre committed 2026-11-22 15:49:38 +02:00
1 parent 034c1f61b1
commit 9db15e30ce
150 files changed
+2344 -434

No files matched your search

+6 -5
View File
@@ -16,20 +16,21 @@ In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY`
| Shortcut | Action | | Shortcut | Action |
| --- | --- | | --- | --- |
| `Mod4 + Return` | Launch `st` terminal (with Fira Code HarfBuzz ligatures) | | `Mod4 + Return` | Launch `st` terminal (with Fira Code HarfBuzz ligatures) |
| `Mod4 + p` | Launch `geminux-launcher` (`dmenu` with Nerd Font icons) | | `Mod4 + Shift + Return` | Promote focused window to master (`zoom`) |
| `Mod4 + Space` / `Mod4 + p` | Launch `geminux-launcher` (`dmenu` with Nerd Font icons) |
| `Mod4 + c` | Open `geminux-control` (backlight, volume, power profiles, LEDs, suspend) | | `Mod4 + c` | Open `geminux-control` (backlight, volume, power profiles, LEDs, suspend) |
| `Mod4 + d` | Open `geminux-dialer` | | `Mod4 + d` | Open `geminux-dialer` |
| `Mod4 + s` | Open `geminux-sms` | | `Mod4 + s` | Open `geminux-sms` |
| `Mod4 + n` | Open `geminux-net` | | `Mod4 + n` | Open `geminux-net` |
| `Mod4 + v` | Open `geminux-camera` | | `Mod4 + v` | Open `geminux-camera` |
| `Mod4 + t` | Open `geminux-themes` | | `Mod4 + t` | Open `geminux-themes` |
| `Mod4 + l` | Lock screen (`geminux-lock`) | | `Mod4 + Shift + l` | Lock screen (`geminux-lock`) |
| `Mod4 + j` / `k` | Focus next / previous window | | `Mod4 + j` / `k` | Focus next / previous window |
| `Mod4 + h` / `l` | Adjust master split ratio (with `Mod4 + Space` / layout buttons for Tile, Monocle, Floating, Grid) | | `Mod4 + h` / `l` | Adjust master split ratio (`Mod4 + F1..F4` for Tile, Monocle, Floating, Grid) |
| `Mod4 + 1..9` | Switch workspace tags (`Mod4 + Shift + 1..9` moves window to tag) | | `Mod4 + 1..5` | Switch workspace tags (`Mod4 + Shift + 1..5` moves window to tag) |
| `Mod4 + Shift + c` | Close focused window | | `Mod4 + Shift + c` | Close focused window |
Touchscreen input is supported directly across XLibre (`libinput`), DWM tag/layout/close buttons (`>= 44px` top bar), `dmenu` items (`48px` rows), `st`, and all nine `libgemui` applications (`>= 64px` touch targets). Touchscreen input is supported directly across XLibre (`libinput`), DWM tag/layout/close buttons (`>= 68px` top bar), `dmenu` items (`68px` rows), `st`, and all nine `libgemui` applications (scaled for `180 DPI` / `>= 1.85x`).
## Unified theming via `.Xresources` ## Unified theming via `.Xresources`
+1 -1
View File
@@ -274,7 +274,7 @@ CONFIG_GENERIC_PHY=y
# CONFIG_PHY_CADENCE_DPHY_RX is not set # CONFIG_PHY_CADENCE_DPHY_RX is not set
# CONFIG_PHY_CADENCE_SIERRA is not set # CONFIG_PHY_CADENCE_SIERRA is not set
# CONFIG_PHY_CADENCE_SALVO is not set # CONFIG_PHY_CADENCE_SALVO is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=m CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_ARM_SCMI is not set # CONFIG_REGULATOR_ARM_SCMI is not set
# CONFIG_REGULATOR_CROS_EC is not set # CONFIG_REGULATOR_CROS_EC is not set
# CONFIG_REGULATOR_GPIO is not set # CONFIG_REGULATOR_GPIO is not set
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
exec /usr/bin/X -nolisten tcp vt1 "$@" exec /usr/bin/X -nolisten tcp -dpi 180 vt1 "$@"
@@ -4,8 +4,9 @@ Section "OutputClass"
Driver "modesetting" Driver "modesetting"
Option "PrimaryGPU" "true" Option "PrimaryGPU" "true"
Option "SWcursor" "true" Option "SWcursor" "true"
Option "AccelMethod" "glamor" Option "AccelMethod" "none"
Option "DRI" "3" Option "ShadowFB" "true"
Option "PageFlip" "false"
EndSection EndSection
Section "OutputClass" Section "OutputClass"
@@ -13,9 +14,10 @@ Section "OutputClass"
MatchDriver "mediatek" MatchDriver "mediatek"
Driver "modesetting" Driver "modesetting"
Option "PrimaryGPU" "true" Option "PrimaryGPU" "true"
Option "AccelMethod" "glamor" Option "SWcursor" "true"
Option "DRI" "3" Option "AccelMethod" "none"
Option "TearFree" "true" Option "ShadowFB" "true"
Option "PageFlip" "false"
EndSection EndSection
Section "Monitor" Section "Monitor"
@@ -3,11 +3,7 @@ Section "InputClass"
MatchIsTouchscreen "on" MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*" MatchDevicePath "/dev/input/event*"
Driver "libinput" Driver "libinput"
# Panel scans 1080x2160 portrait, mounted left-side-up (Rotate "left" / 270 deg). # Panel scans 1080x2160 portrait, mounted left-side-up (Rotate "left" / 270 deg CCW).
# Kernel nt36xxx driver reports portrait coords; transform to 2160x1080 landscape. # DTB applies touchscreen-inverted-x/y; map portrait (xp,yp) -> landscape (1-yp, xp).
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1" Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
Option "Tapping" "on"
Option "TappingDrag" "on"
Option "ClickMethod" "clickfinger"
Option "ScrollMethod" "twofinger"
EndSection EndSection
@@ -5,8 +5,8 @@ Section "InputClass"
Driver "libinput" Driver "libinput"
Option "XkbRules" "evdev" Option "XkbRules" "evdev"
Option "XkbModel" "pc105" Option "XkbModel" "pc105"
Option "XkbTypes" "complete+geminux"
Option "XkbLayout" "planet_vndr/geminux" Option "XkbLayout" "planet_vndr/geminux"
Option "XkbVariant" "us" Option "XkbVariant" "us"
Option "XkbOptions" "custom:types"
Option "AutoRepeat" "300 35" Option "AutoRepeat" "300 35"
EndSection EndSection
+1 -1
View File
@@ -4,5 +4,5 @@ GEMINUX_ENABLE_AUDIO="yes"
GEMINUX_ENABLE_CONSYS="yes" GEMINUX_ENABLE_CONSYS="yes"
GEMINUX_ENABLE_CAMERA="yes" GEMINUX_ENABLE_CAMERA="yes"
GEMINUX_ENABLE_CCCI="yes" GEMINUX_ENABLE_CCCI="yes"
GEMINUX_ENABLE_MEDIATEK_DRM="no" GEMINUX_ENABLE_MEDIATEK_DRM="yes"
GEMINUX_ENABLE_A72="no" GEMINUX_ENABLE_A72="no"
@@ -0,0 +1,6 @@
[Login]
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
HandlePowerKey=ignore
HandleSuspendKey=ignore
+7 -4
View File
@@ -37,6 +37,13 @@ start() {
if [ -r /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname ]; then if [ -r /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname ]; then
lcm="$(tr -d '\0' < /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname 2>/dev/null || true)" lcm="$(tr -d '\0' < /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname 2>/dev/null || true)"
log_msg "chosen.lcm=$lcm" log_msg "chosen.lcm=$lcm"
elif [ -r /sys/firmware/devicetree/base/chosen/atag,videolfb ]; then
lcm="$(tr '\0' '\n' < /sys/firmware/devicetree/base/chosen/atag,videolfb 2>/dev/null | tr -cd '[:print:]\n' | grep -E '[A-Za-z0-9]_[A-Za-z0-9]' | head -n 1 || true)"
log_msg "chosen.lcm=${lcm:-unknown}"
fi
if [ "${GEMINUX_ENABLE_MEDIATEK_DRM:-yes}" = "yes" ]; then
load_group mediatek_drm clk-mt6797-mm mtk-mmsys mtk-mutex phy-mtk-mipi-dsi-drv panel-novatek-nt36672e mediatek-drm
fi fi
load_group input_leds leds-aw9120 gemini-lid regulator-haptic stk3310 novatek-nt36xxx load_group input_leds leds-aw9120 gemini-lid regulator-haptic stk3310 novatek-nt36xxx
@@ -61,10 +68,6 @@ start() {
load_group camera clk-mt6797-cam mt6797-seninf hi556 load_group camera clk-mt6797-cam mt6797-seninf hi556
fi fi
if [ "${GEMINUX_ENABLE_MEDIATEK_DRM:-no}" = "yes" ]; then
load_group mediatek_drm clk-mt6797-mm mtk-mmsys mtk-mutex phy-mtk-mipi-dsi-drv panel-novatek-nt36672e mediatek-drm
fi
if [ "${GEMINUX_ENABLE_A72:-no}" = "yes" ]; then if [ "${GEMINUX_ENABLE_A72:-no}" = "yes" ]; then
load_group a72 mt6797-a72 clk-mt6797-mcusys cpufreq-dt mtk-cci-devfreq load_group a72 mt6797-a72 clk-mt6797-mcusys cpufreq-dt mtk-cci-devfreq
fi fi
+32 -3
View File
@@ -21,13 +21,19 @@ start() {
for role_file in /sys/class/usb_role/*/role; do for role_file in /sys/class/usb_role/*/role; do
[ -w "$role_file" ] || continue [ -w "$role_file" ] || continue
if [ "$(cat "$role_file" 2>/dev/null || true)" = "none" ]; then if [ "$(cat "$role_file" 2>/dev/null || true)" != "device" ]; then
echo "device" > "$role_file" 2>/dev/null || true echo "device" > "$role_file" 2>/dev/null || true
fi fi
done done
i=0
while [ "$i" -lt 20 ]; do
udc_name="$(ls -1 /sys/class/udc 2>/dev/null | head -n1 || true)" udc_name="$(ls -1 /sys/class/udc 2>/dev/null | head -n1 || true)"
if [ -z "$udc_name" ]; then [ -n "$udc_name" ] && break
usleep 100000 2>/dev/null || sleep 1
i=$((i + 1))
done
if [ -z "${udc_name:-}" ]; then
ewarn "No UDC controller present; skipping usb0 gadget" ewarn "No UDC controller present; skipping usb0 gadget"
eend 0 eend 0
return 0 return 0
@@ -52,7 +58,7 @@ start() {
fi fi
i=0 i=0
while [ "$i" -lt 10 ] && ! ip link show usb0 >/dev/null 2>&1; do while [ "$i" -lt 20 ] && ! ip link show usb0 >/dev/null 2>&1; do
usleep 100000 2>/dev/null || sleep 1 usleep 100000 2>/dev/null || sleep 1
i=$((i + 1)) i=$((i + 1))
done done
@@ -60,12 +66,35 @@ start() {
if ip link show usb0 >/dev/null 2>&1; then if ip link show usb0 >/dev/null 2>&1; then
ip addr replace 172.16.42.1/24 dev usb0 2>/dev/null || true ip addr replace 172.16.42.1/24 dev usb0 2>/dev/null || true
ip link set usb0 up 2>/dev/null || true ip link set usb0 up 2>/dev/null || true
if [ -x /usr/sbin/dnsmasq ]; then
if [ -r /run/geminux-usb-dnsmasq.pid ]; then
kill "$(cat /run/geminux-usb-dnsmasq.pid 2>/dev/null || true)" 2>/dev/null || true
rm -f /run/geminux-usb-dnsmasq.pid
fi
: > /run/geminux-usb-dnsmasq.leases
/usr/sbin/dnsmasq \
--port=0 \
--interface=usb0 \
--except-interface=lo \
--bind-dynamic \
--listen-address=172.16.42.1 \
--dhcp-range=172.16.42.2,172.16.42.20,255.255.255.0,1h \
--dhcp-option=3 \
--dhcp-option=6 \
--dhcp-leasefile=/run/geminux-usb-dnsmasq.leases \
--pid-file=/run/geminux-usb-dnsmasq.pid
fi
fi fi
eend 0 eend 0
} }
stop() { stop() {
ebegin "Stopping Geminux USB NCM gadget" ebegin "Stopping Geminux USB NCM gadget"
if [ -r /run/geminux-usb-dnsmasq.pid ]; then
kill "$(cat /run/geminux-usb-dnsmasq.pid 2>/dev/null || true)" 2>/dev/null || true
rm -f /run/geminux-usb-dnsmasq.pid
fi
if [ -w "$G/UDC" ]; then if [ -w "$G/UDC" ]; then
echo "" > "$G/UDC" 2>/dev/null || true echo "" > "$G/UDC" 2>/dev/null || true
fi fi
+22
View File
@@ -0,0 +1,22 @@
# /etc/inittab
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
# tty1 is reserved for tinydm / XLibre
#tty1::respawn:/sbin/getty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
tty4::respawn:/sbin/getty 38400 tty4
tty5::respawn:/sbin/getty 38400 tty5
tty6::respawn:/sbin/getty 38400 tty6
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/openrc shutdown
@@ -9,3 +9,11 @@ export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
export GDK_BACKEND=x11 export GDK_BACKEND=x11
export QT_QPA_PLATFORM=xcb export QT_QPA_PLATFORM=xcb
export XCURSOR_PATH=/usr/share/icons
export XCURSOR_THEME=default
export XCURSOR_SIZE=64
export GDK_SCALE=2
export GDK_DPI_SCALE=0.94
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCALE_FACTOR=1.85
export QT_FONT_DPI=96
+8 -5
View File
@@ -2,7 +2,7 @@
theme.name: GeminuxHelio theme.name: GeminuxHelio
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #0f1419 theme.bgMain: #0f1419
theme.bgBar: #0b0e14 theme.bgBar: #0b0e14
@@ -37,7 +37,7 @@ theme.warning: #ffb454
theme.danger: #f07178 theme.danger: #f07178
theme.dangerBg: #4c1d24 theme.dangerBg: #4c1d24
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #0b0e14 dmenu.background: #0b0e14
dmenu.foreground: #e6e1cf dmenu.foreground: #e6e1cf
dmenu.selbackground: #2b5278 dmenu.selbackground: #2b5278
@@ -46,7 +46,7 @@ dmenu.outbackground: #243040
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #ffb454 dmenu.highlight: #ffb454
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0b0e14 dwm.background: #0b0e14
dwm.foreground: #e6e1cf dwm.foreground: #e6e1cf
dwm.border: #283444 dwm.border: #283444
@@ -59,11 +59,14 @@ dwm.normfgcolor: #e6e1cf
dwm.selbgcolor: #2b5278 dwm.selbgcolor: #2b5278
dwm.selbordercolor: #59c2ff dwm.selbordercolor: #59c2ff
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #0f1419 st.background: #0f1419
st.foreground: #e6e1cf st.foreground: #e6e1cf
st.cursorColor: #59c2ff st.cursorColor: #59c2ff
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: CatppuccinLatte theme.name: CatppuccinLatte
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #eff1f5 theme.bgMain: #eff1f5
theme.bgBar: #eff1f5 theme.bgBar: #eff1f5
@@ -40,7 +40,7 @@ theme.warning: #fe640b
theme.danger: #d20f39 theme.danger: #d20f39
theme.dangerBg: #9e0b2b theme.dangerBg: #9e0b2b
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #e6e9ef dmenu.background: #e6e9ef
dmenu.foreground: #1e1e2e dmenu.foreground: #1e1e2e
dmenu.selbackground: #7287fd dmenu.selbackground: #7287fd
@@ -49,7 +49,7 @@ dmenu.outbackground: #ccd0da
dmenu.outforeground: #1e1e2e dmenu.outforeground: #1e1e2e
dmenu.highlight: #df8e1d dmenu.highlight: #df8e1d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #eff1f5 dwm.background: #eff1f5
dwm.foreground: #4c4f69 dwm.foreground: #4c4f69
dwm.border: #bcc0cc dwm.border: #bcc0cc
@@ -62,10 +62,13 @@ dwm.normfgcolor: #4c4f69
dwm.selbgcolor: #7287fd dwm.selbgcolor: #7287fd
dwm.selbordercolor: #7287fd dwm.selbordercolor: #7287fd
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #e6e9ef st.background: #e6e9ef
st.foreground: #4c4f69 st.foreground: #4c4f69
st.cursorColor: #8839ef st.cursorColor: #8839ef
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: CatppuccinMocha theme.name: CatppuccinMocha
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #1e1e2e theme.bgMain: #1e1e2e
theme.bgBar: #1e1e2e theme.bgBar: #1e1e2e
@@ -40,7 +40,7 @@ theme.warning: #fab387
theme.danger: #f38ba8 theme.danger: #f38ba8
theme.dangerBg: #873951 theme.dangerBg: #873951
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #181825 dmenu.background: #181825
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #724b9e dmenu.selbackground: #724b9e
@@ -49,7 +49,7 @@ dmenu.outbackground: #3b3c54
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #f9e2af dmenu.highlight: #f9e2af
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1e1e2e dwm.background: #1e1e2e
dwm.foreground: #cdd6f4 dwm.foreground: #cdd6f4
dwm.border: #45475a dwm.border: #45475a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #cdd6f4
dwm.selbgcolor: #724b9e dwm.selbgcolor: #724b9e
dwm.selbordercolor: #724b9e dwm.selbordercolor: #724b9e
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #181825 st.background: #181825
st.foreground: #cdd6f4 st.foreground: #cdd6f4
st.cursorColor: #cba6f7 st.cursorColor: #cba6f7
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: Cyberpunk theme.name: Cyberpunk
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #000000 theme.bgMain: #000000
theme.bgBar: #000000 theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #fcee0a
theme.danger: #ff0055 theme.danger: #ff0055
theme.dangerBg: #8a002e theme.dangerBg: #8a002e
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #000000 dmenu.background: #000000
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #0066cc dmenu.selbackground: #0066cc
@@ -49,7 +49,7 @@ dmenu.outbackground: #0d1f33
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #fcee0a dmenu.highlight: #fcee0a
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000 dwm.background: #000000
dwm.foreground: #e0f7ff dwm.foreground: #e0f7ff
dwm.border: #004477 dwm.border: #004477
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e0f7ff
dwm.selbgcolor: #0066cc dwm.selbgcolor: #0066cc
dwm.selbordercolor: #0066cc dwm.selbordercolor: #0066cc
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #000000 st.background: #000000
st.foreground: #e0f7ff st.foreground: #e0f7ff
st.cursorColor: #00f0ff st.cursorColor: #00f0ff
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
+8 -5
View File
@@ -5,7 +5,7 @@
theme.name: Default theme.name: Default
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #222222 theme.bgMain: #222222
theme.bgBar: #222222 theme.bgBar: #222222
@@ -40,7 +40,7 @@ theme.warning: #e67e22
theme.danger: #e74c3c theme.danger: #e74c3c
theme.dangerBg: #922b21 theme.dangerBg: #922b21
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #1c1c1c dmenu.background: #1c1c1c
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #005577 dmenu.selbackground: #005577
@@ -49,7 +49,7 @@ dmenu.outbackground: #383838
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #ffc978 dmenu.highlight: #ffc978
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #222222 dwm.background: #222222
dwm.foreground: #dddddd dwm.foreground: #dddddd
dwm.border: #444444 dwm.border: #444444
@@ -62,10 +62,13 @@ dwm.normfgcolor: #dddddd
dwm.selbgcolor: #005577 dwm.selbgcolor: #005577
dwm.selbordercolor: #005577 dwm.selbordercolor: #005577
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #1c1c1c st.background: #1c1c1c
st.foreground: #dddddd st.foreground: #dddddd
st.cursorColor: #f4d03f st.cursorColor: #f4d03f
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
+8 -5
View File
@@ -5,7 +5,7 @@
theme.name: Dracula theme.name: Dracula
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #282a36 theme.bgMain: #282a36
theme.bgBar: #282a36 theme.bgBar: #282a36
@@ -40,7 +40,7 @@ theme.warning: #ffb86c
theme.danger: #ff5555 theme.danger: #ff5555
theme.dangerBg: #8f2828 theme.dangerBg: #8f2828
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #21222c dmenu.background: #21222c
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #6272a4 dmenu.selbackground: #6272a4
@@ -49,7 +49,7 @@ dmenu.outbackground: #44475a
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #f1fa8c dmenu.highlight: #f1fa8c
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282a36 dwm.background: #282a36
dwm.foreground: #f8f8f2 dwm.foreground: #f8f8f2
dwm.border: #44475a dwm.border: #44475a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #f8f8f2
dwm.selbgcolor: #6272a4 dwm.selbgcolor: #6272a4
dwm.selbordercolor: #6272a4 dwm.selbordercolor: #6272a4
dwm.selfgcolor: #f8f8f2 dwm.selfgcolor: #f8f8f2
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #21222c st.background: #21222c
st.foreground: #f8f8f2 st.foreground: #f8f8f2
st.cursorColor: #bd93f9 st.cursorColor: #bd93f9
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: EverforestDark theme.name: EverforestDark
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #2d353b theme.bgMain: #2d353b
theme.bgBar: #2d353b theme.bgBar: #2d353b
@@ -40,7 +40,7 @@ theme.warning: #e69875
theme.danger: #e67e80 theme.danger: #e67e80
theme.dangerBg: #82383a theme.dangerBg: #82383a
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #232a2e dmenu.background: #232a2e
dmenu.foreground: #fdf6e3 dmenu.foreground: #fdf6e3
dmenu.selbackground: #426348 dmenu.selbackground: #426348
@@ -49,7 +49,7 @@ dmenu.outbackground: #475258
dmenu.outforeground: #fdf6e3 dmenu.outforeground: #fdf6e3
dmenu.highlight: #dbbc7f dmenu.highlight: #dbbc7f
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #2d353b dwm.background: #2d353b
dwm.foreground: #d3c6aa dwm.foreground: #d3c6aa
dwm.border: #475258 dwm.border: #475258
@@ -62,10 +62,13 @@ dwm.normfgcolor: #d3c6aa
dwm.selbgcolor: #426348 dwm.selbgcolor: #426348
dwm.selbordercolor: #426348 dwm.selbordercolor: #426348
dwm.selfgcolor: #fdf6e3 dwm.selfgcolor: #fdf6e3
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #232a2e st.background: #232a2e
st.foreground: #d3c6aa st.foreground: #d3c6aa
st.cursorColor: #a7c080 st.cursorColor: #a7c080
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -2,7 +2,7 @@
theme.name: GeminuxHelio theme.name: GeminuxHelio
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #0f1419 theme.bgMain: #0f1419
theme.bgBar: #0b0e14 theme.bgBar: #0b0e14
@@ -37,7 +37,7 @@ theme.warning: #ffb454
theme.danger: #f07178 theme.danger: #f07178
theme.dangerBg: #4c1d24 theme.dangerBg: #4c1d24
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #0b0e14 dmenu.background: #0b0e14
dmenu.foreground: #e6e1cf dmenu.foreground: #e6e1cf
dmenu.selbackground: #2b5278 dmenu.selbackground: #2b5278
@@ -46,7 +46,7 @@ dmenu.outbackground: #243040
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #ffb454 dmenu.highlight: #ffb454
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0b0e14 dwm.background: #0b0e14
dwm.foreground: #e6e1cf dwm.foreground: #e6e1cf
dwm.border: #283444 dwm.border: #283444
@@ -59,11 +59,14 @@ dwm.normfgcolor: #e6e1cf
dwm.selbgcolor: #2b5278 dwm.selbgcolor: #2b5278
dwm.selbordercolor: #59c2ff dwm.selbordercolor: #59c2ff
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #0f1419 st.background: #0f1419
st.foreground: #e6e1cf st.foreground: #e6e1cf
st.cursorColor: #59c2ff st.cursorColor: #59c2ff
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GitHubDark theme.name: GitHubDark
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #0d1117 theme.bgMain: #0d1117
theme.bgBar: #0d1117 theme.bgBar: #0d1117
@@ -40,7 +40,7 @@ theme.warning: #d29922
theme.danger: #f85149 theme.danger: #f85149
theme.dangerBg: #8e2520 theme.dangerBg: #8e2520
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #090c10 dmenu.background: #090c10
dmenu.foreground: #f0f6fc dmenu.foreground: #f0f6fc
dmenu.selbackground: #1f6feb dmenu.selbackground: #1f6feb
@@ -49,7 +49,7 @@ dmenu.outbackground: #21262d
dmenu.outforeground: #f0f6fc dmenu.outforeground: #f0f6fc
dmenu.highlight: #e3b341 dmenu.highlight: #e3b341
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0d1117 dwm.background: #0d1117
dwm.foreground: #c9d1d9 dwm.foreground: #c9d1d9
dwm.border: #30363d dwm.border: #30363d
@@ -62,10 +62,13 @@ dwm.normfgcolor: #c9d1d9
dwm.selbgcolor: #1f6feb dwm.selbgcolor: #1f6feb
dwm.selbordercolor: #1f6feb dwm.selbordercolor: #1f6feb
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #090c10 st.background: #090c10
st.foreground: #c9d1d9 st.foreground: #c9d1d9
st.cursorColor: #58a6ff st.cursorColor: #58a6ff
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GruvboxDark theme.name: GruvboxDark
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #282828 theme.bgMain: #282828
theme.bgBar: #282828 theme.bgBar: #282828
@@ -40,7 +40,7 @@ theme.warning: #fe8019
theme.danger: #fb4934 theme.danger: #fb4934
theme.dangerBg: #9d0006 theme.dangerBg: #9d0006
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #1d2021 dmenu.background: #1d2021
dmenu.foreground: #fbf1c7 dmenu.foreground: #fbf1c7
dmenu.selbackground: #b57614 dmenu.selbackground: #b57614
@@ -49,7 +49,7 @@ dmenu.outbackground: #504945
dmenu.outforeground: #fbf1c7 dmenu.outforeground: #fbf1c7
dmenu.highlight: #fe8019 dmenu.highlight: #fe8019
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282828 dwm.background: #282828
dwm.foreground: #ebdbb2 dwm.foreground: #ebdbb2
dwm.border: #504945 dwm.border: #504945
@@ -62,10 +62,13 @@ dwm.normfgcolor: #ebdbb2
dwm.selbgcolor: #b57614 dwm.selbgcolor: #b57614
dwm.selbordercolor: #b57614 dwm.selbordercolor: #b57614
dwm.selfgcolor: #fbf1c7 dwm.selfgcolor: #fbf1c7
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #1d2021 st.background: #1d2021
st.foreground: #ebdbb2 st.foreground: #ebdbb2
st.cursorColor: #fabd2f st.cursorColor: #fabd2f
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GruvboxLight theme.name: GruvboxLight
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #fbf1c7 theme.bgMain: #fbf1c7
theme.bgBar: #fbf1c7 theme.bgBar: #fbf1c7
@@ -40,7 +40,7 @@ theme.warning: #b57614
theme.danger: #9d0006 theme.danger: #9d0006
theme.dangerBg: #790004 theme.dangerBg: #790004
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #f2e5bc dmenu.background: #f2e5bc
dmenu.foreground: #1d2021 dmenu.foreground: #1d2021
dmenu.selbackground: #b57614 dmenu.selbackground: #b57614
@@ -49,7 +49,7 @@ dmenu.outbackground: #d5c4a1
dmenu.outforeground: #1d2021 dmenu.outforeground: #1d2021
dmenu.highlight: #d65d0e dmenu.highlight: #d65d0e
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #fbf1c7 dwm.background: #fbf1c7
dwm.foreground: #3c3836 dwm.foreground: #3c3836
dwm.border: #d5c4a1 dwm.border: #d5c4a1
@@ -62,10 +62,13 @@ dwm.normfgcolor: #3c3836
dwm.selbgcolor: #b57614 dwm.selbgcolor: #b57614
dwm.selbordercolor: #b57614 dwm.selbordercolor: #b57614
dwm.selfgcolor: #fbf1c7 dwm.selfgcolor: #fbf1c7
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #f2e5bc st.background: #f2e5bc
st.foreground: #3c3836 st.foreground: #3c3836
st.cursorColor: #af3a03 st.cursorColor: #af3a03
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: Kanagawa theme.name: Kanagawa
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #1f1f28 theme.bgMain: #1f1f28
theme.bgBar: #1f1f28 theme.bgBar: #1f1f28
@@ -40,7 +40,7 @@ theme.warning: #ff9e3b
theme.danger: #e82424 theme.danger: #e82424
theme.dangerBg: #821414 theme.dangerBg: #821414
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #16161d dmenu.background: #16161d
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #2d4f67 dmenu.selbackground: #2d4f67
@@ -49,7 +49,7 @@ dmenu.outbackground: #363646
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #ffa066 dmenu.highlight: #ffa066
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1f1f28 dwm.background: #1f1f28
dwm.foreground: #dcd7ba dwm.foreground: #dcd7ba
dwm.border: #363646 dwm.border: #363646
@@ -62,10 +62,13 @@ dwm.normfgcolor: #dcd7ba
dwm.selbgcolor: #2d4f67 dwm.selbgcolor: #2d4f67
dwm.selbordercolor: #2d4f67 dwm.selbordercolor: #2d4f67
dwm.selfgcolor: #dcd7ba dwm.selfgcolor: #dcd7ba
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #16161d st.background: #16161d
st.foreground: #dcd7ba st.foreground: #dcd7ba
st.cursorColor: #e6c384 st.cursorColor: #e6c384
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: LinuxConsole theme.name: LinuxConsole
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #000000 theme.bgMain: #000000
theme.bgBar: #000000 theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #ffff55
theme.danger: #ff5555 theme.danger: #ff5555
theme.dangerBg: #880000 theme.dangerBg: #880000
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #000000 dmenu.background: #000000
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #0055aa dmenu.selbackground: #0055aa
@@ -49,7 +49,7 @@ dmenu.outbackground: #1f1f1f
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #ffff55 dmenu.highlight: #ffff55
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000 dwm.background: #000000
dwm.foreground: #aaaaaa dwm.foreground: #aaaaaa
dwm.border: #333333 dwm.border: #333333
@@ -62,10 +62,13 @@ dwm.normfgcolor: #aaaaaa
dwm.selbgcolor: #0055aa dwm.selbgcolor: #0055aa
dwm.selbordercolor: #0055aa dwm.selbordercolor: #0055aa
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #000000 st.background: #000000
st.foreground: #aaaaaa st.foreground: #aaaaaa
st.cursorColor: #55ff55 st.cursorColor: #55ff55
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: LynxLair theme.name: LynxLair
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #000000 theme.bgMain: #000000
theme.bgBar: #000000 theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #e0a044
theme.danger: #d62828 theme.danger: #d62828
theme.dangerBg: #5f0f1e theme.dangerBg: #5f0f1e
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #000000 dmenu.background: #000000
dmenu.foreground: #efe5c0 dmenu.foreground: #efe5c0
dmenu.selbackground: #9e6210 dmenu.selbackground: #9e6210
@@ -49,7 +49,7 @@ dmenu.outbackground: #4d3008
dmenu.outforeground: #fff8dc dmenu.outforeground: #fff8dc
dmenu.highlight: #ffb84d dmenu.highlight: #ffb84d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000 dwm.background: #000000
dwm.foreground: #efe5c0 dwm.foreground: #efe5c0
dwm.border: #5c3b0c dwm.border: #5c3b0c
@@ -62,10 +62,13 @@ dwm.normfgcolor: #efe5c0
dwm.selbgcolor: #9e6210 dwm.selbgcolor: #9e6210
dwm.selbordercolor: #e0a044 dwm.selbordercolor: #e0a044
dwm.selfgcolor: #fff8dc dwm.selfgcolor: #fff8dc
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #000000 st.background: #000000
st.foreground: #efe5c0 st.foreground: #efe5c0
st.cursorColor: #e0a044 st.cursorColor: #e0a044
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: MatrixGreen theme.name: MatrixGreen
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #0a140c theme.bgMain: #0a140c
theme.bgBar: #0a140c theme.bgBar: #0a140c
@@ -40,7 +40,7 @@ theme.warning: #f1c40f
theme.danger: #e74c3c theme.danger: #e74c3c
theme.dangerBg: #922b21 theme.dangerBg: #922b21
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #070e08 dmenu.background: #070e08
dmenu.foreground: #e0ffe4 dmenu.foreground: #e0ffe4
dmenu.selbackground: #196627 dmenu.selbackground: #196627
@@ -49,7 +49,7 @@ dmenu.outbackground: #18301c
dmenu.outforeground: #e0ffe4 dmenu.outforeground: #e0ffe4
dmenu.highlight: #80ff9d dmenu.highlight: #80ff9d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0a140c dwm.background: #0a140c
dwm.foreground: #a8ffb2 dwm.foreground: #a8ffb2
dwm.border: #1e4224 dwm.border: #1e4224
@@ -62,10 +62,13 @@ dwm.normfgcolor: #a8ffb2
dwm.selbgcolor: #196627 dwm.selbgcolor: #196627
dwm.selbordercolor: #196627 dwm.selbordercolor: #196627
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #070e08 st.background: #070e08
st.foreground: #a8ffb2 st.foreground: #a8ffb2
st.cursorColor: #00ff41 st.cursorColor: #00ff41
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: MonokaiPro theme.name: MonokaiPro
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #272822 theme.bgMain: #272822
theme.bgBar: #272822 theme.bgBar: #272822
@@ -40,7 +40,7 @@ theme.warning: #fd971f
theme.danger: #f92672 theme.danger: #f92672
theme.dangerBg: #8a1540 theme.dangerBg: #8a1540
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #1e1f1c dmenu.background: #1e1f1c
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #a61c52 dmenu.selbackground: #a61c52
@@ -49,7 +49,7 @@ dmenu.outbackground: #414339
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #e6db74 dmenu.highlight: #e6db74
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #272822 dwm.background: #272822
dwm.foreground: #f8f8f2 dwm.foreground: #f8f8f2
dwm.border: #49483e dwm.border: #49483e
@@ -62,10 +62,13 @@ dwm.normfgcolor: #f8f8f2
dwm.selbgcolor: #a61c52 dwm.selbgcolor: #a61c52
dwm.selbordercolor: #a61c52 dwm.selbordercolor: #a61c52
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #1e1f1c st.background: #1e1f1c
st.foreground: #f8f8f2 st.foreground: #f8f8f2
st.cursorColor: #a6e22e st.cursorColor: #a6e22e
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: NordFrost theme.name: NordFrost
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #2e3440 theme.bgMain: #2e3440
theme.bgBar: #2e3440 theme.bgBar: #2e3440
@@ -40,7 +40,7 @@ theme.warning: #d08770
theme.danger: #bf616a theme.danger: #bf616a
theme.dangerBg: #7a373e theme.dangerBg: #7a373e
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #242933 dmenu.background: #242933
dmenu.foreground: #eceff4 dmenu.foreground: #eceff4
dmenu.selbackground: #5e81ac dmenu.selbackground: #5e81ac
@@ -49,7 +49,7 @@ dmenu.outbackground: #434c5e
dmenu.outforeground: #eceff4 dmenu.outforeground: #eceff4
dmenu.highlight: #ebcb8b dmenu.highlight: #ebcb8b
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #2e3440 dwm.background: #2e3440
dwm.foreground: #e5e9f0 dwm.foreground: #e5e9f0
dwm.border: #4c566a dwm.border: #4c566a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e5e9f0
dwm.selbgcolor: #5e81ac dwm.selbgcolor: #5e81ac
dwm.selbordercolor: #5e81ac dwm.selbordercolor: #5e81ac
dwm.selfgcolor: #eceff4 dwm.selfgcolor: #eceff4
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #242933 st.background: #242933
st.foreground: #e5e9f0 st.foreground: #e5e9f0
st.cursorColor: #88c0d0 st.cursorColor: #88c0d0
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
+8 -5
View File
@@ -5,7 +5,7 @@
theme.name: OneDark theme.name: OneDark
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #282c34 theme.bgMain: #282c34
theme.bgBar: #282c34 theme.bgBar: #282c34
@@ -40,7 +40,7 @@ theme.warning: #d19a66
theme.danger: #e06c75 theme.danger: #e06c75
theme.dangerBg: #823037 theme.dangerBg: #823037
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #21252b dmenu.background: #21252b
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #2c5380 dmenu.selbackground: #2c5380
@@ -49,7 +49,7 @@ dmenu.outbackground: #3e4451
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #e5c07b dmenu.highlight: #e5c07b
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282c34 dwm.background: #282c34
dwm.foreground: #abb2bf dwm.foreground: #abb2bf
dwm.border: #3e4451 dwm.border: #3e4451
@@ -62,10 +62,13 @@ dwm.normfgcolor: #abb2bf
dwm.selbgcolor: #2c5380 dwm.selbgcolor: #2c5380
dwm.selbordercolor: #2c5380 dwm.selbordercolor: #2c5380
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #21252b st.background: #21252b
st.foreground: #abb2bf st.foreground: #abb2bf
st.cursorColor: #61afef st.cursorColor: #61afef
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: RosePine theme.name: RosePine
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #191724 theme.bgMain: #191724
theme.bgBar: #191724 theme.bgBar: #191724
@@ -40,7 +40,7 @@ theme.warning: #f6c177
theme.danger: #eb6f92 theme.danger: #eb6f92
theme.dangerBg: #852d47 theme.dangerBg: #852d47
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #1f1d2e dmenu.background: #1f1d2e
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #6e5694 dmenu.selbackground: #6e5694
@@ -49,7 +49,7 @@ dmenu.outbackground: #332f4c
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #f6c177 dmenu.highlight: #f6c177
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #191724 dwm.background: #191724
dwm.foreground: #e0def4 dwm.foreground: #e0def4
dwm.border: #403d52 dwm.border: #403d52
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e0def4
dwm.selbgcolor: #6e5694 dwm.selbgcolor: #6e5694
dwm.selbordercolor: #6e5694 dwm.selbordercolor: #6e5694
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #1f1d2e st.background: #1f1d2e
st.foreground: #e0def4 st.foreground: #e0def4
st.cursorColor: #ebbcba st.cursorColor: #ebbcba
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: SolarizedDark theme.name: SolarizedDark
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #002b36 theme.bgMain: #002b36
theme.bgBar: #002b36 theme.bgBar: #002b36
@@ -40,7 +40,7 @@ theme.warning: #cb4b16
theme.danger: #dc322f theme.danger: #dc322f
theme.dangerBg: #801d1b theme.dangerBg: #801d1b
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #00212b dmenu.background: #00212b
dmenu.foreground: #fdf6e3 dmenu.foreground: #fdf6e3
dmenu.selbackground: #268bd2 dmenu.selbackground: #268bd2
@@ -49,7 +49,7 @@ dmenu.outbackground: #0d4352
dmenu.outforeground: #fdf6e3 dmenu.outforeground: #fdf6e3
dmenu.highlight: #cb4b16 dmenu.highlight: #cb4b16
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #002b36 dwm.background: #002b36
dwm.foreground: #93a1a1 dwm.foreground: #93a1a1
dwm.border: #164c5a dwm.border: #164c5a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #93a1a1
dwm.selbgcolor: #268bd2 dwm.selbgcolor: #268bd2
dwm.selbordercolor: #268bd2 dwm.selbordercolor: #268bd2
dwm.selfgcolor: #fdf6e3 dwm.selfgcolor: #fdf6e3
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #00212b st.background: #00212b
st.foreground: #93a1a1 st.foreground: #93a1a1
st.cursorColor: #b58900 st.cursorColor: #b58900
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: SolarizedLight theme.name: SolarizedLight
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #fdf6e3 theme.bgMain: #fdf6e3
theme.bgBar: #fdf6e3 theme.bgBar: #fdf6e3
@@ -40,7 +40,7 @@ theme.warning: #cb4b16
theme.danger: #dc322f theme.danger: #dc322f
theme.dangerBg: #a93226 theme.dangerBg: #a93226
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #e6dfca dmenu.background: #e6dfca
dmenu.foreground: #073642 dmenu.foreground: #073642
dmenu.selbackground: #268bd2 dmenu.selbackground: #268bd2
@@ -49,7 +49,7 @@ dmenu.outbackground: #d9d2bd
dmenu.outforeground: #073642 dmenu.outforeground: #073642
dmenu.highlight: #cb4b16 dmenu.highlight: #cb4b16
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #fdf6e3 dwm.background: #fdf6e3
dwm.foreground: #283739 dwm.foreground: #283739
dwm.border: #93a1a1 dwm.border: #93a1a1
@@ -62,10 +62,13 @@ dwm.normfgcolor: #283739
dwm.selbgcolor: #268bd2 dwm.selbgcolor: #268bd2
dwm.selbordercolor: #268bd2 dwm.selbordercolor: #268bd2
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #fdf6e3 st.background: #fdf6e3
st.foreground: #283739 st.foreground: #283739
st.cursorColor: #b58900 st.cursorColor: #b58900
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: TokyoNight theme.name: TokyoNight
theme.fontFace: Fira Code theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22 theme.baseFontSize: 32
theme.bgMain: #1a1b26 theme.bgMain: #1a1b26
theme.bgBar: #1a1b26 theme.bgBar: #1a1b26
@@ -40,7 +40,7 @@ theme.warning: #e0af68
theme.danger: #f7768e theme.danger: #f7768e
theme.dangerBg: #8c2d42 theme.dangerBg: #8c2d42
dmenu.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true dmenu.font: Fira Code, DejaVuSansM Nerd Font 40px
dmenu.background: #16161e dmenu.background: #16161e
dmenu.foreground: #ffffff dmenu.foreground: #ffffff
dmenu.selbackground: #3d59a1 dmenu.selbackground: #3d59a1
@@ -49,7 +49,7 @@ dmenu.outbackground: #2f3549
dmenu.outforeground: #ffffff dmenu.outforeground: #ffffff
dmenu.highlight: #e0af68 dmenu.highlight: #e0af68
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1a1b26 dwm.background: #1a1b26
dwm.foreground: #c0caf5 dwm.foreground: #c0caf5
dwm.border: #3b4261 dwm.border: #3b4261
@@ -62,10 +62,13 @@ dwm.normfgcolor: #c0caf5
dwm.selbgcolor: #3d59a1 dwm.selbgcolor: #3d59a1
dwm.selbordercolor: #3d59a1 dwm.selbordercolor: #3d59a1
dwm.selfgcolor: #ffffff dwm.selfgcolor: #ffffff
dwm.borderpx: 4
st.font: Fira Code:pixelsize=24:style=Regular:antialias=true:autohint=true st.font: Fira Code:pixelsize=44:style=Regular:antialias=true:autohint=true
st.termname: xterm-256color st.termname: xterm-256color
st.background: #16161e st.background: #16161e
st.foreground: #c0caf5 st.foreground: #c0caf5
st.cursorColor: #7aa2f7 st.cursorColor: #7aa2f7
Xft.dpi: 168 Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
+17 -1
View File
@@ -2,6 +2,22 @@
# Geminux application and quick-action launcher using Pango/HarfBuzz dmenu. # Geminux application and quick-action launcher using Pango/HarfBuzz dmenu.
set -eu set -eu
LOCK_DIR="/tmp/geminux-launcher-${USER:-user}.lock"
if ! mkdir "$LOCK_DIR" 2>/dev/null; then
oldpid="$(cat "$LOCK_DIR/pid" 2>/dev/null || true)"
if [ -n "$oldpid" ] && kill -0 "$oldpid" 2>/dev/null; then
exit 0
fi
rm -rf "$LOCK_DIR"
mkdir "$LOCK_DIR" 2>/dev/null || exit 0
fi
printf '%s\n' "$$" > "$LOCK_DIR/pid"
trap 'rm -rf "$LOCK_DIR"' EXIT INT TERM HUP
if pidof dmenu >/dev/null 2>&1; then
exit 0
fi
LAUNCHER_LIST=" LAUNCHER_LIST="
 Terminal|st  Terminal|st
 Dialer|geminux-dialer  Dialer|geminux-dialer
@@ -31,7 +47,7 @@ build_menu() {
fi fi
} }
choice="$(build_menu | awk '!seen[$0]++' | dmenu -l 12 -i -p 'Geminux:')" choice="$(build_menu | awk '!seen[$0]++' | dmenu -f -l 9 -i -p 'Geminux:')"
[ -n "$choice" ] || exit 0 [ -n "$choice" ] || exit 0
pinned_cmd="$(printf '%s\n' "$LAUNCHER_LIST" | awk -F'|' -v sel="$choice" '$1 == sel {print $2; exit}')" pinned_cmd="$(printf '%s\n' "$LAUNCHER_LIST" | awk -F'|' -v sel="$choice" '$1 == sel {print $2; exit}')"
+6 -5
View File
@@ -11,10 +11,11 @@ if [ -r /etc/profile.d/10-geminux-env.sh ]; then
. /etc/profile.d/10-geminux-env.sh . /etc/profile.d/10-geminux-env.sh
fi fi
if [ ! -f "$HOME_DIR/.Xresources" ] && [ -f /etc/skel/.Xresources ]; then if [ ! -f "$HOME_DIR/.Xresources" ] || \
cp -f /etc/skel/.Xresources "$HOME_DIR/.Xresources" grep -qE '^(Xcursor\.size:[[:space:]]*42|dmenu\.font:.*pixelsize=)' "$HOME_DIR/.Xresources" 2>/dev/null; then
fi [ -f /etc/skel/.Xresources ] && cp -f /etc/skel/.Xresources "$HOME_DIR/.Xresources"
if [ ! -d "$HOME_DIR/.xthemes" ] && [ -d /etc/skel/.xthemes ]; then [ -d /etc/skel/.xthemes ] && rm -rf "$HOME_DIR/.xthemes" && cp -a /etc/skel/.xthemes "$HOME_DIR/.xthemes"
elif [ ! -d "$HOME_DIR/.xthemes" ] && [ -d /etc/skel/.xthemes ]; then
cp -a /etc/skel/.xthemes "$HOME_DIR/.xthemes" cp -a /etc/skel/.xthemes "$HOME_DIR/.xthemes"
fi fi
@@ -41,7 +42,7 @@ EOF
fi fi
if command -v setxkbmap >/dev/null 2>&1; then if command -v setxkbmap >/dev/null 2>&1; then
setxkbmap -rules evdev -model pc105 -layout 'planet_vndr/geminux' -variant us 2>/dev/null || true setxkbmap -rules evdev -model pc105 -layout 'planet_vndr/geminux' -variant us -option -option 'custom:types' 2>/dev/null || true
fi fi
if command -v geminux-sync-dunst-theme >/dev/null 2>&1; then if command -v geminux-sync-dunst-theme >/dev/null 2>&1; then
+17 -17
View File
@@ -42,15 +42,15 @@ DANGER="$(get_xres "theme.danger" "#f07178")"
DANGER_BG="$(get_xres "theme.dangerBg" "#4c1d24")" DANGER_BG="$(get_xres "theme.dangerBg" "#4c1d24")"
FONT_FACE="$(get_xres "theme.fontFace" "Fira Code")" FONT_FACE="$(get_xres "theme.fontFace" "Fira Code")"
BASE_SIZE="$(get_xres "theme.baseFontSize" "22")" BASE_SIZE="$(get_xres "theme.baseFontSize" "32")"
case "$BASE_SIZE" in case "$BASE_SIZE" in
''|*[!0-9]*) BASE_SIZE=22 ;; ''|*[!0-9]*) BASE_SIZE=32 ;;
esac esac
PT_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN { PX_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
pt = b * 0.55 px = int(b + 2)
if (pt < 9.0) pt = 9.0 if (px < 30) px = 30
if (pt > 16.0) pt = 16.0 if (px > 44) px = 44
printf "%.1f", pt printf "%dpx", px
}')" }')"
OUT_CONF="${GEMINUX_DUNSTRC:-$HOME_DIR/.config/dunst/dunstrc}" OUT_CONF="${GEMINUX_DUNSTRC:-$HOME_DIR/.config/dunst/dunstrc}"
@@ -61,21 +61,21 @@ cat > "$OUT_CONF.tmp" <<EOF
[global] [global]
monitor = 0 monitor = 0
follow = mouse follow = mouse
width = 560 width = 720
height = (0, 220) height = (0, 360)
origin = top-right origin = top-right
offset = (16, 48) offset = (20, 88)
notification_limit = 5 notification_limit = 5
progress_bar = true progress_bar = true
padding = 12 padding = 18
horizontal_padding = 16 horizontal_padding = 22
text_icon_padding = 12 text_icon_padding = 16
frame_width = 2 frame_width = 3
frame_color = "$ACCENT" frame_color = "$ACCENT"
separator_color = "$BORDER" separator_color = "$BORDER"
corner_radius = 6 corner_radius = 8
idle_threshold = 120 idle_threshold = 120
font = $FONT_FACE $PT_SIZE font = $FONT_FACE $PX_SIZE
markup = full markup = full
format = "<b>%s</b>\n%b" format = "<b>%s</b>\n%b"
alignment = left alignment = left
@@ -83,7 +83,7 @@ cat > "$OUT_CONF.tmp" <<EOF
show_age_threshold = 60 show_age_threshold = 60
word_wrap = yes word_wrap = yes
icon_position = left icon_position = left
max_icon_size = 48 max_icon_size = 64
dmenu = /usr/bin/dmenu -p dunst: dmenu = /usr/bin/dmenu -p dunst:
mouse_left_click = do_action, close_current mouse_left_click = do_action, close_current
mouse_middle_click = close_current mouse_middle_click = close_current
@@ -6,11 +6,13 @@ partial hidden alphanumeric_keys modifier_keys
xkb_symbols "modifiers" { xkb_symbols "modifiers" {
key <LWIN> { key <LWIN> {
type[Group1] = "GEMINUX_FN", type[Group1] = "GEMINUX_FN",
[ ISO_Level3_Shift, ISO_Level3_Shift, Super_L ] symbols[Group1] = [ ISO_Level3_Shift, ISO_Level3_Shift, Super_L ],
actions[Group1] = [ SetMods(modifiers=LevelThree), SetMods(modifiers=LevelThree), SetMods(modifiers=Mod4) ]
}; };
key <LALT> { key <LALT> {
type[Group1] = "GEMINUX_LALT", type[Group1] = "GEMINUX_LALT",
[ Alt_L, Meta_L, Super_L ] symbols[Group1] = [ Alt_L, Meta_L, Super_L ],
actions[Group1] = [ SetMods(modifiers=Alt), SetMods(modifiers=Alt), SetMods(modifiers=Mod4) ]
}; };
modifier_map Mod1 { Alt_L, Meta_L }; modifier_map Mod1 { Alt_L, Meta_L };
modifier_map Mod4 { Super_L }; modifier_map Mod4 { Super_L };
@@ -0,0 +1,27 @@
// XKB key types for Gemini PDA physical keyboard (Fn+Alt = Super_L / Mod4)
default partial xkb_types "custom" {
virtual_modifiers LevelThree, Alt;
type "GEMINUX_LALT" {
modifiers = Shift + LevelThree;
map[None] = Level1;
map[Shift] = Level2;
map[LevelThree] = Level3;
map[Shift+LevelThree] = Level3;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
level_name[Level3] = "Fn+Alt (Mod4)";
};
type "GEMINUX_FN" {
modifiers = Shift + Alt;
map[None] = Level1;
map[Shift] = Level2;
map[Alt] = Level3;
map[Shift+Alt] = Level3;
level_name[Level1] = "Base";
level_name[Level2] = "Shift";
level_name[Level3] = "Alt+Fn (Mod4)";
};
};
@@ -0,0 +1 @@
fleur
+1
View File
@@ -0,0 +1 @@
left_ptr
@@ -0,0 +1 @@
sb_h_double_arrow
+1
View File
@@ -0,0 +1 @@
crosshair
@@ -0,0 +1 @@
left_ptr
@@ -0,0 +1 @@
sb_h_double_arrow
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
fleur
@@ -0,0 +1 @@
fleur
@@ -0,0 +1 @@
sb_h_double_arrow
+1
View File
@@ -0,0 +1 @@
hand2
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
xterm
@@ -0,0 +1 @@
left_ptr
+1
View File
@@ -0,0 +1 @@
fleur
@@ -0,0 +1 @@
bottom_left_corner
@@ -0,0 +1 @@
sb_v_double_arrow
@@ -0,0 +1 @@
bottom_right_corner
@@ -0,0 +1 @@
hand2
@@ -0,0 +1 @@
hand2
@@ -0,0 +1 @@
sb_v_double_arrow
@@ -0,0 +1 @@
bottom_right_corner
@@ -0,0 +1 @@
bottom_right_corner
@@ -0,0 +1 @@
bottom_left_corner
@@ -0,0 +1 @@
crosshair
+1
View File
@@ -0,0 +1 @@
xterm
@@ -0,0 +1 @@
left_ptr
@@ -0,0 +1 @@
bottom_right_corner
@@ -0,0 +1 @@
bottom_left_corner
@@ -0,0 +1 @@
sb_v_double_arrow
+1
View File
@@ -0,0 +1 @@
watch
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
[Icon Theme]
Name=Default
Comment=Geminux HiDPI X11 Cursor Theme
@@ -8,8 +8,8 @@ Subject: [PATCH] arm64: dts: mediatek: add Geminux Gemini PDA board devicetree
(cherry picked from commit f2f4795496329352910716c5f46ac82446e05e8b) (cherry picked from commit f2f4795496329352910716c5f46ac82446e05e8b)
--- ---
arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 +
.../mediatek/mt6797-gemini-pda-geminux.dts | 167 ++++++++++++++++++ .../mediatek/mt6797-gemini-pda-geminux.dts | 233 ++++++++++++++++++
2 files changed, 168 insertions(+) 2 files changed, 234 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile
@@ -29,7 +29,7 @@ new file mode 100644
index 000000000..0497766c8 index 000000000..0497766c8
--- /dev/null --- /dev/null
+++ b/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts +++ b/arch/arm64/boot/dts/mediatek/mt6797-gemini-pda-geminux.dts
@@ -0,0 +1,167 @@ @@ -0,0 +1,233 @@
+// SPDX-License-Identifier: GPL-2.0-only +// SPDX-License-Identifier: GPL-2.0-only
+/* +/*
+ * Planet Computers Gemini PDA (MT6797X 4G+WiFi) Device Tree for Geminux. + * Planet Computers Gemini PDA (MT6797X 4G+WiFi) Device Tree for Geminux.
@@ -78,6 +78,14 @@ index 000000000..0497766c8
+ pinctrl-names = "default"; + pinctrl-names = "default";
+ pinctrl-0 = <&sii902x_1v2_pins>; + pinctrl-0 = <&sii902x_1v2_pins>;
+ }; + };
+
+ backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&disp_pwm 0 500000>;
+ brightness-levels = <0 255>;
+ num-interpolated-steps = <255>;
+ default-brightness-level = <200>;
+ };
+}; +};
+ +
+&mt6351regulator { +&mt6351regulator {
@@ -92,6 +100,16 @@ index 000000000..0497766c8
+ regulator-min-microvolt = <1700000>; + regulator-min-microvolt = <1700000>;
+ regulator-max-microvolt = <3100000>; + regulator-max-microvolt = <3100000>;
+ }; + };
+
+ mt6351_vusb33_reg: ldo-vusb33 {
+ regulator-name = "vusb33";
+ regulator-always-on;
+ };
+
+ mt6351_vldo28_reg: ldo-vldo28 {
+ regulator-name = "vldo28";
+ regulator-always-on;
+ };
+}; +};
+ +
+&pio { +&pio {
@@ -197,6 +215,54 @@ index 000000000..0497766c8
+ }; + };
+ }; + };
+}; +};
+
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins_a>;
+ clock-frequency = <400000>;
+ status = "okay";
+};
+
+&disp_pwm {
+ /delete-property/ power-domains;
+ status = "okay";
+};
+
+&{/i2c@11008000/typec@25/connector} {
+ /delete-node/ port;
+};
+
+&ssusb {
+ dr_mode = "peripheral";
+ vusb33-supply = <&mt6351_vusb33_reg>;
+ /delete-property/ usb-role-switch;
+ /delete-property/ role-switch-default-mode;
+ /delete-node/ port;
+};
+
+&dsi0 {
+ panel@0 {
+ backlight = <&backlight>;
+ };
+};
+
+&hall_gpio_keys {
+ status = "okay";
+};
+
+&{/i2c@11007000/charger@6b} {
+ linux,guard-end-threshold = <100>;
+};
+
+&i2c4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c4_pins_a>;
+
+ touchscreen@62 {
+ vcc-supply = <&mt6351_vldo28_reg>;
+ reset-gpios = <&pio 68 GPIO_ACTIVE_LOW>;
+ };
+};
-- --
2.55.0 2.55.0
@@ -0,0 +1,916 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 13:42:00 +0200
Subject: [PATCH] geminux: support Gemini PDA Solomon SSD2092 display and touch
Add Solomon Systech SSD2092 panel timings (SYNC_PULSE_VDO_MODE, 1004 Mbit/s,
no DCS BTA reads), snapshot loader DSI configuration when DSI_START is already
running, and support the Solomon SSD2092 I2C touchscreen controller at 0x53.
---
diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c
--- a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c
+++ b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c
@@ -38,6 +38,7 @@
const char *panel_name;
void (*init_sequence)(struct mipi_dsi_multi_context *ctx);
bool can_adopt;
+ bool no_dcs_read;
unsigned int power_on_delay_ms;
unsigned int reset_high_delay_ms;
unsigned int reset_low_delay_ms;
@@ -56,6 +57,7 @@
const struct panel_desc *desc;
enum drm_panel_orientation orientation;
bool adopted;
+ bool awake;
};
/*
@@ -788,6 +790,45 @@
* survives this module: on the loader's first frame it is awake, and nothing is
* sent.
*/
+static bool gemini_prop_has_ssd2092(const void *prop, int len)
+{
+ int i;
+
+ if (!prop || len < 7)
+ return false;
+ for (i = 0; i <= len - 7; i++) {
+ if (memcmp((const u8 *)prop + i, "ssd2092", 7) == 0)
+ return true;
+ }
+ return false;
+}
+
+static bool gemini_panel_is_ssd2092(void)
+{
+ struct device_node *chosen;
+ const void *prop;
+ int len = 0;
+ bool found = false;
+
+ chosen = of_find_node_by_path("/chosen");
+ if (!chosen)
+ return false;
+
+ prop = of_get_property(chosen, "atag,videolfb-lcmname", &len);
+ if (gemini_prop_has_ssd2092(prop, len)) {
+ found = true;
+ goto out_put;
+ }
+
+ prop = of_get_property(chosen, "atag,videolfb", &len);
+ if (gemini_prop_has_ssd2092(prop, len))
+ found = true;
+
+out_put:
+ of_node_put(chosen);
+ return found;
+}
+
static int nt36672e_adopted_wake(struct nt36672e_panel *ctx)
{
struct mipi_dsi_device *dsi = ctx->dsi;
@@ -795,6 +836,19 @@
u8 mode = 0;
int ret;
+ if (ctx->desc->no_dcs_read) {
+ if (ctx->awake)
+ return 0;
+ dsi->mode_flags |= MIPI_DSI_MODE_LPM;
+ mipi_dsi_dcs_exit_sleep_mode_multi(&mctx);
+ mipi_dsi_msleep(&mctx, ctx->desc->exit_sleep_delay_ms);
+ mipi_dsi_dcs_set_display_on_multi(&mctx);
+ mipi_dsi_msleep(&mctx, ctx->desc->display_on_delay_ms);
+ if (!mctx.accum_err)
+ ctx->awake = true;
+ return mctx.accum_err;
+ }
+
ret = mipi_dsi_dcs_get_power_mode(dsi, &mode);
dev_dbg(&dsi->dev, "power mode read %d: 0x%02x\n", ret, mode);
/* Sleep out and display on; the running panel reads 0x9c. */
@@ -812,10 +866,12 @@
{
struct mipi_dsi_multi_context mctx = { .dsi = ctx->dsi };
+ ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM;
mipi_dsi_dcs_set_display_off_multi(&mctx);
mipi_dsi_msleep(&mctx, ctx->desc->display_off_delay_ms);
mipi_dsi_dcs_enter_sleep_mode_multi(&mctx);
mipi_dsi_msleep(&mctx, ctx->desc->sleep_in_delay_ms);
+ ctx->awake = false;
return mctx.accum_err;
}
@@ -946,6 +1002,44 @@
.display_on_delay_ms = 10,
};
+static const struct drm_display_mode gemini_ssd2092_1080x2160_60hz = {
+ .name = "1080x2160",
+ /* 1004 Mbit/s (502 MHz PLL) on four lanes at 24 bpp. */
+ .clock = 167334,
+ .hdisplay = 1080,
+ .hsync_start = 1080 + 26,
+ .hsync_end = 1080 + 26 + 4,
+ .htotal = 1080 + 26 + 4 + 20,
+ .vdisplay = 2160,
+ .vsync_start = 2160 + 76,
+ .vsync_end = 2160 + 76 + 1,
+ .vtotal = 2160 + 76 + 1 + 43,
+ .flags = 0,
+};
+
+static const struct panel_desc gemini_ssd2092_panel_desc = {
+ .supply_names = gemini_regulator_names,
+ .num_supplies = ARRAY_SIZE(gemini_regulator_names),
+ .display_mode = &gemini_ssd2092_1080x2160_60hz,
+ .width_mm = 68,
+ .height_mm = 136,
+ .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
+ MIPI_DSI_MODE_LPM,
+ .format = MIPI_DSI_FMT_RGB888,
+ .lanes = 4,
+ .panel_name = "Gemini SSD2092 1080x2160 panel",
+ .can_adopt = true,
+ .no_dcs_read = true,
+ .power_on_delay_ms = 20,
+ .reset_high_delay_ms = 10,
+ .reset_low_delay_ms = 10,
+ .reset_final_high_delay_ms = 20,
+ .display_off_delay_ms = 50,
+ .sleep_in_delay_ms = 120,
+ .exit_sleep_delay_ms = 120,
+ .display_on_delay_ms = 20,
+};
+
static int nt36672e_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector)
{
struct nt36672e_panel *ctx = to_nt36672e_panel(panel);
@@ -1005,11 +1099,17 @@
return -ENODEV;
}
+ if (ctx->desc == &gemini_panel_desc && gemini_panel_is_ssd2092()) {
+ ctx->desc = &gemini_ssd2092_panel_desc;
+ dev_info(dev, "detected Solomon SSD2092 panel from /chosen/atag,videolfb\n");
+ }
+
if (!ctx->desc->supply_names ||
ctx->desc->num_supplies > ARRAY_SIZE(ctx->supplies))
return -EINVAL;
ctx->adopted = adopt && ctx->desc->can_adopt;
+ ctx->awake = ctx->adopted;
if (!ctx->adopted) {
for (i = 0; i < ctx->desc->num_supplies; i++) {
ctx->supplies[i].supply = ctx->desc->supply_names[i];
diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c
--- a/drivers/gpu/drm/mediatek/mtk_dsi.c
+++ b/drivers/gpu/drm/mediatek/mtk_dsi.c
@@ -228,6 +228,14 @@
u32 irq_data;
wait_queue_head_t irq_wait_queue;
const struct mtk_dsi_driver_data *driver_data;
+ bool loader_saved;
+ u32 loader_vact;
+ u32 loader_txrx;
+ u32 loader_hsa_wc;
+ u32 loader_hbp_wc;
+ u32 loader_hfp_wc;
+ u32 loader_hstx_ckl_wc;
+ u32 loader_timcon[4];
};
static inline struct mtk_dsi *bridge_to_dsi(struct drm_bridge *b)
@@ -288,8 +296,13 @@
FIELD_PREP(CLK_HS_POST, timing->clk_hs_post) |
FIELD_PREP(CLK_HS_EXIT, timing->clk_hs_exit);
- if (dsi->driver_data->fixed_timcon &&
- abs((s64)dsi->data_rate - dsi->driver_data->fixed_timcon_rate) < HZ_PER_MHZ) {
+ if (dsi->loader_saved && dsi->vm.vactive == dsi->loader_vact) {
+ timcon0 = dsi->loader_timcon[0];
+ timcon1 = dsi->loader_timcon[1];
+ timcon2 = dsi->loader_timcon[2];
+ timcon3 = dsi->loader_timcon[3];
+ } else if (dsi->driver_data->fixed_timcon &&
+ abs((s64)dsi->data_rate - dsi->driver_data->fixed_timcon_rate) < HZ_PER_MHZ) {
timcon0 = dsi->driver_data->fixed_timcon[0];
timcon1 = dsi->driver_data->fixed_timcon[1];
timcon2 = dsi->driver_data->fixed_timcon[2];
@@ -402,6 +415,10 @@
if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)
regval |= DIS_EOT;
+ if (dsi->loader_saved && dsi->vm.vactive == dsi->loader_vact)
+ regval = (regval & ~(DIS_EOT | HSTX_CKLP_EN | MAX_RTN_SIZE)) |
+ (dsi->loader_txrx & (DIS_EOT | HSTX_CKLP_EN | MAX_RTN_SIZE));
+
writel(regval, dsi->regs + DSI_TXRX_CTRL);
}
@@ -441,6 +458,8 @@
writel(vact_nl, dsi->regs + DSI_VACT_NL);
if (!dsi->driver_data->loader_porch_wc)
writel(ps_wc, dsi->regs + DSI_HSTX_CKL_WC);
+ else if (dsi->loader_saved && dsi->vm.vactive == dsi->loader_vact)
+ writel(dsi->loader_hstx_ckl_wc, dsi->regs + DSI_HSTX_CKL_WC);
}
writel(ps_val, dsi->regs + DSI_PSCTRL);
}
@@ -587,6 +606,23 @@
{
struct videomode *vm = &dsi->vm;
+ if (dsi->loader_saved && vm->vactive == dsi->loader_vact) {
+ writel(dsi->loader_hsa_wc, dsi->regs + DSI_HSA_WC);
+ writel(dsi->loader_hbp_wc, dsi->regs + DSI_HBP_WC);
+ writel(dsi->loader_hfp_wc, dsi->regs + DSI_HFP_WC);
+ return;
+ }
+
+ if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) {
+ writel(ALIGN(max_t(int, vm->hsync_len * 3 - 10, 4), 4),
+ dsi->regs + DSI_HSA_WC);
+ writel(ALIGN(max_t(int, vm->hback_porch * 3 - 10, 4), 4),
+ dsi->regs + DSI_HBP_WC);
+ writel(ALIGN(max_t(int, vm->hfront_porch * 3 - 12, 4), 4),
+ dsi->regs + DSI_HFP_WC);
+ return;
+ }
+
writel(ALIGN(vm->hsync_len * 3 - 4, 4), dsi->regs + DSI_HSA_WC);
writel(ALIGN((vm->hback_porch + vm->hsync_len) * 3 - 10, 4),
dsi->regs + DSI_HBP_WC);
@@ -760,6 +796,28 @@
goto err_disable_engine_clk;
}
+ if (!dsi->loader_saved && (readl(dsi->regs + DSI_START) & 1)) {
+ dsi->loader_vact = readl(dsi->regs + DSI_VACT_NL) & VACT_NL;
+ dsi->loader_txrx = readl(dsi->regs + DSI_TXRX_CTRL);
+ dsi->loader_hsa_wc = readl(dsi->regs + DSI_HSA_WC);
+ dsi->loader_hbp_wc = readl(dsi->regs + DSI_HBP_WC);
+ dsi->loader_hfp_wc = readl(dsi->regs + DSI_HFP_WC);
+ dsi->loader_hstx_ckl_wc = readl(dsi->regs + DSI_HSTX_CKL_WC);
+ dsi->loader_timcon[0] = readl(dsi->regs + DSI_PHY_TIMECON0);
+ dsi->loader_timcon[1] = readl(dsi->regs + DSI_PHY_TIMECON1);
+ dsi->loader_timcon[2] = readl(dsi->regs + DSI_PHY_TIMECON2);
+ dsi->loader_timcon[3] = readl(dsi->regs + DSI_PHY_TIMECON3);
+ dsi->loader_saved = true;
+ dev_info(dev,
+ "captured loader DSI state mode=%#x txrx=%#x vact=%u wc=%u/%u/%u ckl=%#x timcon=%#x/%#x/%#x/%#x\n",
+ readl(dsi->regs + DSI_MODE_CTRL), dsi->loader_txrx,
+ dsi->loader_vact, dsi->loader_hsa_wc,
+ dsi->loader_hbp_wc, dsi->loader_hfp_wc,
+ dsi->loader_hstx_ckl_wc, dsi->loader_timcon[0],
+ dsi->loader_timcon[1], dsi->loader_timcon[2],
+ dsi->loader_timcon[3]);
+ }
+
mtk_dsi_enable(dsi);
if (dsi->driver_data->has_shadow_ctl)
diff --git a/drivers/input/touchscreen/novatek-nt36xxx.c b/drivers/input/touchscreen/novatek-nt36xxx.c
--- a/drivers/input/touchscreen/novatek-nt36xxx.c
+++ b/drivers/input/touchscreen/novatek-nt36xxx.c
@@ -10,17 +10,31 @@
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
+#include <linux/gpio/driver.h>
+#include <linux/gpio/machine.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/input/touchscreen.h>
#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/irqdomain.h>
+#include <linux/mfd/mt6351/registers.h>
+#include <linux/mfd/mt6397/core.h>
#include <linux/module.h>
+#include <linux/of.h>
+#include <linux/of_irq.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
+#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/unaligned.h>
#define NVT36XXX_HW_ADDR 0x62
+#define SSD2092_I2C_ADDR 0x53
+#define SSD2092_X_MAX 1080
+#define SSD2092_Y_MAX 2160
#define NVT36XXX_FW_ADDR 0x01
#define NVT36XXX_XDATA_CMD 0xff
#define NVT36XXX_TRIM_CMD 0x4e
@@ -39,17 +53,29 @@
#define NVT36XXX_RESET_RETRIES 5
#define NVT36XXX_RESET_STATE_INIT 0xa0
+struct ssd2092_slot {
+ bool down;
+ u16 x;
+ u16 y;
+ u8 w;
+};
+
struct nvt36xxx_data {
struct i2c_client *client;
+ struct i2c_client *ssl;
struct input_dev *input;
struct touchscreen_properties prop;
struct gpio_desc *reset_gpio;
+ struct regulator *vcc_reg;
struct regulator_bulk_data supplies[2];
u8 event[NVT36XXX_EVENT_DATA_LEN];
+ struct ssd2092_slot slots[NVT36XXX_MAX_TOUCHES];
u32 raw_x_max;
u32 raw_y_max;
+ u32 orig_irq_type;
u8 fw_version;
u16 pid;
+ bool is_ssd2092;
};
static int nvt36xxx_write(struct nvt36xxx_data *data, u16 target,
@@ -297,6 +323,496 @@ static void nvt36xxx_disable_regulators(
regulator_bulk_disable(ARRAY_SIZE(data->supplies), data->supplies);
}
+static bool gemini_touch_prop_has_ssd2092(const void *prop, int len)
+{
+ int i;
+
+ if (!prop || len < 7)
+ return false;
+ for (i = 0; i <= len - 7; i++) {
+ if (memcmp((const u8 *)prop + i, "ssd2092", 7) == 0)
+ return true;
+ }
+ return false;
+}
+
+static bool gemini_touch_is_ssd2092(void)
+{
+ struct device_node *chosen;
+ const void *prop;
+ int len = 0;
+ bool found = false;
+
+ chosen = of_find_node_by_path("/chosen");
+ if (!chosen)
+ return false;
+
+ prop = of_get_property(chosen, "atag,videolfb-lcmname", &len);
+ if (gemini_touch_prop_has_ssd2092(prop, len)) {
+ found = true;
+ goto out_put;
+ }
+
+ prop = of_get_property(chosen, "atag,videolfb", &len);
+ if (gemini_touch_prop_has_ssd2092(prop, len))
+ found = true;
+
+out_put:
+ of_node_put(chosen);
+ return found;
+}
+
+static void ssd2092_disable_vcc(void *arg)
+{
+ regulator_disable(arg);
+}
+
+static void ssd2092_free_own_gpio(void *arg)
+{
+ gpiochip_free_own_desc(arg);
+}
+
+static int ssd2092_enable_pmic_vldo28(void)
+{
+ struct device_node *np;
+ struct platform_device *pdev;
+ struct mt6397_chip *mt6351;
+ int ret = -ENODEV;
+
+ np = of_find_node_by_path("/pwrap@1000d000/pmic");
+ if (!np)
+ return -ENODEV;
+ pdev = of_find_device_by_node(np);
+ of_node_put(np);
+ if (!pdev)
+ return -EPROBE_DEFER;
+ mt6351 = platform_get_drvdata(pdev);
+ if (mt6351 && mt6351->regmap)
+ ret = regmap_update_bits(mt6351->regmap,
+ MT6351_LDO_VLDO28_CON0,
+ BIT(1), BIT(1));
+ put_device(&pdev->dev);
+ return ret;
+}
+
+static int ssd2092_setup_power_and_reset(struct nvt36xxx_data *data)
+{
+ struct device *dev = &data->client->dev;
+ struct regulator *vcc;
+ int ret;
+
+ vcc = devm_regulator_get_optional(dev, "vcc");
+ if (IS_ERR(vcc)) {
+ if (PTR_ERR(vcc) == -EPROBE_DEFER)
+ return -EPROBE_DEFER;
+ if (PTR_ERR(vcc) != -ENODEV)
+ return PTR_ERR(vcc);
+ } else if (vcc) {
+ ret = regulator_enable(vcc);
+ if (ret)
+ return ret;
+ data->vcc_reg = vcc;
+ ret = devm_add_action_or_reset(dev, ssd2092_disable_vcc, vcc);
+ if (ret)
+ return ret;
+ }
+
+ if (!data->vcc_reg) {
+ ret = ssd2092_enable_pmic_vldo28();
+ if (ret == -EPROBE_DEFER)
+ return ret;
+ if (ret)
+ dev_warn(dev, "failed to enable VLDO28 fallback: %d\n", ret);
+ }
+ msleep(10);
+
+ data->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
+ if (IS_ERR(data->reset_gpio))
+ return PTR_ERR(data->reset_gpio);
+
+ if (!data->reset_gpio) {
+ struct gpio_device *gdev = NULL;
+ struct device_node *pio_np;
+
+ pio_np = of_find_node_by_path("/pinctrl@10005000");
+ if (!pio_np)
+ pio_np = of_find_compatible_node(NULL, NULL,
+ "mediatek,mt6797-pinctrl");
+ if (pio_np) {
+ gdev = gpio_device_find_by_fwnode(of_fwnode_handle(pio_np));
+ of_node_put(pio_np);
+ }
+ if (!gdev)
+ gdev = gpio_device_find_by_label("10005000.pinctrl");
+ if (!gdev) {
+ dev_warn(dev, "no pinctrl gpio_device found for GPIO68 fallback\n");
+ } else {
+ struct gpio_chip *gc = gpio_device_get_chip(gdev);
+ struct gpio_desc *desc;
+
+ desc = gpiochip_request_own_desc(gc, 68, "ssd2092-rst",
+ GPIO_ACTIVE_LOW,
+ GPIOD_OUT_LOW);
+ gpio_device_put(gdev);
+ if (IS_ERR(desc)) {
+ dev_warn(dev, "failed to claim GPIO68 fallback: %ld\n",
+ PTR_ERR(desc));
+ } else {
+ data->reset_gpio = desc;
+ dev_info(dev, "claimed GPIO68 reset fallback for SSD2092\n");
+ ret = devm_add_action_or_reset(dev,
+ ssd2092_free_own_gpio,
+ desc);
+ if (ret)
+ return ret;
+ }
+ }
+ }
+
+ return 0;
+}
+
+static void ssd2092_reset_pulse(struct nvt36xxx_data *data)
+{
+ if (!data->reset_gpio)
+ return;
+ /* Logical 0 = physical HIGH, logical 1 = physical LOW (GPIO_ACTIVE_LOW). */
+ msleep(10);
+ gpiod_set_value_cansleep(data->reset_gpio, 0);
+ msleep(10);
+ gpiod_set_value_cansleep(data->reset_gpio, 1);
+ msleep(20);
+ gpiod_set_value_cansleep(data->reset_gpio, 0);
+ msleep(150);
+}
+
+static int ssd2092_read(struct i2c_client *ssl, u16 reg, void *buf, u16 len)
+{
+ u8 cmd[2] = { reg & 0xff, reg >> 8 };
+ int ret;
+
+ ret = i2c_master_send(ssl, cmd, sizeof(cmd));
+ if (ret != sizeof(cmd))
+ return ret < 0 ? ret : -EIO;
+ usleep_range(200, 300);
+
+ ret = i2c_master_recv(ssl, buf, len);
+ if (ret != len)
+ return ret < 0 ? ret : -EIO;
+ usleep_range(50, 100);
+ return 0;
+}
+
+static int ssd2092_write_u16(struct i2c_client *ssl, u16 reg, u16 val)
+{
+ u8 pkt[4] = { reg & 0xff, reg >> 8, val & 0xff, val >> 8 };
+ int ret;
+
+ ret = i2c_master_send(ssl, pkt, sizeof(pkt));
+ if (ret != sizeof(pkt))
+ return ret < 0 ? ret : -EIO;
+ usleep_range(200, 300);
+ return 0;
+}
+
+static int ssd2092_boot_seeprom(struct nvt36xxx_data *data)
+{
+ static const u8 status_cmd[4] = { 0x00, 0x00, 0x00, 0x00 };
+ static const u8 trim_e003[6] = { 0x04, 0x00, 0x03, 0xe0, 0x07, 0x00 };
+ static const u8 trim_e000[6] = { 0x04, 0x00, 0x00, 0xe0, 0x48, 0x00 };
+ struct device *dev = &data->client->dev;
+ u8 status[2] = { 0 };
+ int ret;
+
+ if (i2c_master_send(data->ssl, status_cmd, sizeof(status_cmd)) == sizeof(status_cmd)) {
+ usleep_range(200, 300);
+ i2c_master_recv(data->ssl, status, sizeof(status));
+ usleep_range(200, 300);
+ }
+
+ ret = i2c_master_send(data->ssl, trim_e003, sizeof(trim_e003));
+ if (ret != sizeof(trim_e003))
+ return ret < 0 ? ret : -EIO;
+ usleep_range(200, 300);
+
+ ret = i2c_master_send(data->ssl, trim_e000, sizeof(trim_e000));
+ if (ret != sizeof(trim_e000))
+ return ret < 0 ? ret : -EIO;
+ usleep_range(200, 300);
+
+ ret = ssd2092_write_u16(data->ssl, 0x0001, 0x0000);
+ if (ret)
+ return ret;
+ ret = ssd2092_write_u16(data->ssl, 0x0002, 0x0000);
+ if (ret)
+ return ret;
+
+ msleep(150);
+ dev_dbg(dev, "SSD2092 SEEPROM boot sequence sent (rom_status=%#06x)\n",
+ get_unaligned_le16(status));
+ return 0;
+}
+
+static int ssd2092_hw_init(struct nvt36xxx_data *data)
+{
+ struct device *dev = &data->client->dev;
+ u8 buf[2];
+ u8 hdr[4];
+ u16 fw_disp = 0, fw_touch = 0, x_nodes = 0, y_nodes = 0;
+ int ret = -EIO;
+ int i;
+
+ for (i = 0; i < 6; i++) {
+ ret = ssd2092_write_u16(data->ssl, 0x0050, 0x0000);
+ if (!ret)
+ break;
+ msleep(25);
+ }
+ if (ret)
+ return ret;
+
+ if (!ssd2092_read(data->ssl, 0x0055, buf, sizeof(buf)))
+ fw_disp = get_unaligned_le16(buf);
+ if (!ssd2092_read(data->ssl, 0x0054, buf, sizeof(buf)))
+ fw_touch = get_unaligned_le16(buf);
+ if (!ssd2092_read(data->ssl, 0x0056, buf, sizeof(buf)))
+ x_nodes = get_unaligned_le16(buf);
+ if (!ssd2092_read(data->ssl, 0x0057, buf, sizeof(buf)))
+ y_nodes = get_unaligned_le16(buf);
+
+ data->raw_x_max = SSD2092_X_MAX;
+ data->raw_y_max = SSD2092_Y_MAX;
+ dev_info(dev, "SSD2092 FW touch=%#06x disp=%#06x nodes=%ux%u\n",
+ fw_touch, fw_disp, x_nodes, y_nodes);
+
+ ret = ssd2092_write_u16(data->ssl, 0x016e, 0x0078);
+ if (ret)
+ dev_warn(dev, "SSD2092 reg 0x016e write failed: %d\n", ret);
+ ret = ssd2092_write_u16(data->ssl, 0x0102, 0x0a8c);
+ if (ret)
+ dev_warn(dev, "SSD2092 reg 0x0102 write failed: %d\n", ret);
+ ret = ssd2092_write_u16(data->ssl, 0x0103, 0x0032);
+ if (ret)
+ dev_warn(dev, "SSD2092 reg 0x0103 write failed: %d\n", ret);
+
+ for (i = 0; i < 6; i++) {
+ memset(hdr, 0, sizeof(hdr));
+ if (!ssd2092_read(data->ssl, 0x0af0, hdr, sizeof(hdr))) {
+ if (hdr[1] & 0x40)
+ ssd2092_read(data->ssl, 0x0af8, buf, sizeof(buf));
+ }
+ ret = ssd2092_write_u16(data->ssl, 0x0043, 0x0001);
+ if (hdr[0] == 0 && hdr[1] == 0)
+ break;
+ msleep(5);
+ }
+
+ return ret;
+}
+
+static void ssd2092_report_slots(struct nvt36xxx_data *data)
+{
+ unsigned int s, active = 0;
+
+ for (s = 0; s < NVT36XXX_MAX_TOUCHES; s++) {
+ struct ssd2092_slot *slot = &data->slots[s];
+
+ input_mt_slot(data->input, s);
+ input_mt_report_slot_state(data->input, MT_TOOL_FINGER,
+ slot->down);
+ if (slot->down) {
+ touchscreen_report_pos(data->input, &data->prop,
+ slot->x, slot->y, true);
+ input_report_abs(data->input, ABS_MT_TOUCH_MAJOR,
+ slot->w);
+ input_report_abs(data->input, ABS_MT_PRESSURE,
+ slot->w);
+ active++;
+ }
+ }
+ input_mt_sync_frame(data->input);
+ input_report_key(data->input, BTN_TOUCH, active != 0);
+ input_sync(data->input);
+}
+
+static irqreturn_t ssd2092_irq(int irq, void *arg)
+{
+ struct nvt36xxx_data *data = arg;
+ struct device *dev = &data->client->dev;
+ u8 hdr[4] = { 0 };
+ u8 pkt[64];
+ unsigned int len, i;
+ int ret;
+
+ ret = ssd2092_read(data->ssl, 0x0af0, hdr, sizeof(hdr));
+ if (!ret && get_unaligned_le16(hdr) == 0x0af0)
+ ret = ssd2092_read(data->ssl, 0x00f0, hdr, sizeof(hdr));
+ if (ret) {
+ dev_err_ratelimited(dev, "SSD2092 header read failed: %d\n", ret);
+ ssd2092_write_u16(data->ssl, 0x0043, 0x0001);
+ msleep(10);
+ return IRQ_HANDLED;
+ }
+
+ if (hdr[1] & 0x40) {
+ u8 aux[2] = { 0 };
+ u16 aux_val;
+
+ ssd2092_read(data->ssl, 0x0af8, aux, sizeof(aux));
+ aux_val = get_unaligned_le16(aux);
+ memset(data->slots, 0, sizeof(data->slots));
+ ssd2092_report_slots(data);
+ if (aux_val == 0x0001 || (aux_val & 0x0fff) == 0x0af8 ||
+ (aux_val & 0x00f0) == 0x00f0)
+ ssd2092_boot_seeprom(data);
+ ssd2092_hw_init(data);
+ return IRQ_HANDLED;
+ }
+
+ if (hdr[1] & 0x80) {
+ memset(data->slots, 0, sizeof(data->slots));
+ ssd2092_report_slots(data);
+ ssd2092_hw_init(data);
+ return IRQ_HANDLED;
+ }
+
+ len = min_t(unsigned int, hdr[0], 60);
+ if (len >= 6 && (hdr[1] & 0x3f)) {
+ ret = ssd2092_read(data->ssl, 0x0af1, pkt, len + 2);
+ if (ret) {
+ dev_err_ratelimited(dev, "SSD2092 packet read failed: %d\n", ret);
+ goto out_ack;
+ }
+ for (i = 0; i < len / 6; i++) {
+ const u8 *p = &pkt[i * 6];
+ unsigned int slot = p[0];
+ unsigned int x_raw = p[1] | ((p[3] & 0xf0) << 4);
+ unsigned int y_raw = p[2] | ((p[3] & 0x0f) << 8);
+ u8 w = p[4];
+
+ if (slot == 0xf6) {
+ if (get_unaligned_le16(&p[1]) & BIT(9))
+ memset(data->slots, 0, sizeof(data->slots));
+ continue;
+ }
+ if (slot >= NVT36XXX_MAX_TOUCHES)
+ continue;
+ if (w == 0) {
+ data->slots[slot].down = false;
+ } else if (x_raw <= SSD2092_X_MAX && y_raw <= SSD2092_Y_MAX) {
+ data->slots[slot].down = true;
+ data->slots[slot].x = min_t(unsigned int, x_raw,
+ SSD2092_X_MAX - 1);
+ data->slots[slot].y = min_t(unsigned int, y_raw,
+ SSD2092_Y_MAX - 1);
+ data->slots[slot].w = w;
+ }
+ }
+ ssd2092_report_slots(data);
+ }
+
+out_ack:
+ ssd2092_write_u16(data->ssl, 0x0043, 0x0001);
+ return IRQ_HANDLED;
+}
+
+static void ssd2092_restore_irq_type(void *arg)
+{
+ struct nvt36xxx_data *data = arg;
+
+ if (data->client->irq > 0 && data->orig_irq_type)
+ irq_set_irq_type(data->client->irq, data->orig_irq_type);
+}
+
+static int ssd2092_probe(struct i2c_client *client, struct nvt36xxx_data *data)
+{
+ struct device *dev = &client->dev;
+ struct input_dev *input;
+ u32 dt_trig = IRQ_TYPE_EDGE_RISING;
+ int ret;
+
+ of_property_read_u32_index(dev->of_node, "interrupts", 1, &dt_trig);
+ if (client->irq <= 0) {
+ struct device_node *parent = of_irq_find_parent(dev->of_node);
+ struct irq_domain *dom = parent ? irq_find_host(parent) : NULL;
+ u32 hwirq = 8;
+
+ of_property_read_u32_index(dev->of_node, "interrupts", 0, &hwirq);
+ if (dom)
+ client->irq = irq_find_mapping(dom, hwirq);
+ of_node_put(parent);
+ }
+ if (client->irq <= 0)
+ return -EINVAL;
+ data->orig_irq_type = dt_trig;
+
+ data->is_ssd2092 = true;
+ ret = ssd2092_setup_power_and_reset(data);
+ if (ret)
+ return ret;
+
+ data->ssl = devm_i2c_new_dummy_device(dev, client->adapter,
+ SSD2092_I2C_ADDR);
+ if (IS_ERR(data->ssl))
+ return dev_err_probe(dev, PTR_ERR(data->ssl),
+ "failed to register SSD2092 client\n");
+
+ ssd2092_reset_pulse(data);
+
+ ret = ssd2092_boot_seeprom(data);
+ if (ret)
+ return dev_err_probe(dev, ret,
+ "Solomon SSD2092 SEEPROM boot at %#02x failed\n",
+ SSD2092_I2C_ADDR);
+
+ ret = ssd2092_hw_init(data);
+ if (ret)
+ return dev_err_probe(dev, ret,
+ "Solomon SSD2092 init at %#02x failed\n",
+ SSD2092_I2C_ADDR);
+
+ dev_info(dev, "Solomon SSD2092 touchscreen at %#02x, %ux%u\n",
+ SSD2092_I2C_ADDR, data->raw_x_max, data->raw_y_max);
+
+ input = devm_input_allocate_device(dev);
+ if (!input)
+ return -ENOMEM;
+
+ input->name = "Solomon SSD2092 touchscreen";
+ input->id.bustype = BUS_I2C;
+ input_set_abs_params(input, ABS_MT_POSITION_X, 0,
+ data->raw_x_max - 1, 0, 0);
+ input_set_abs_params(input, ABS_MT_POSITION_Y, 0,
+ data->raw_y_max - 1, 0, 0);
+ input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0,
+ NVT36XXX_MAX_WIDTH, 0, 0);
+ input_set_abs_params(input, ABS_MT_PRESSURE, 0,
+ NVT36XXX_MAX_WIDTH, 0, 0);
+ touchscreen_parse_properties(input, true, &data->prop);
+ ret = input_mt_init_slots(input, NVT36XXX_MAX_TOUCHES,
+ INPUT_MT_DIRECT);
+ if (ret)
+ return ret;
+
+ data->input = input;
+ input_set_drvdata(input, data);
+ ret = input_register_device(input);
+ if (ret)
+ return ret;
+
+ ret = devm_add_action_or_reset(dev, ssd2092_restore_irq_type, data);
+ if (ret)
+ return ret;
+
+ ret = devm_request_threaded_irq(dev, client->irq, NULL, ssd2092_irq,
+ IRQF_TRIGGER_LOW | IRQF_ONESHOT,
+ "ssd2092-ts", data);
+ if (ret)
+ return dev_err_probe(dev, ret, "failed to request SSD2092 IRQ\n");
+
+ return 0;
+}
+
static int nvt36xxx_probe(struct i2c_client *client)
{
struct device *dev = &client->dev;
@@ -304,7 +820,7 @@ static int nvt36xxx_probe(struct i2c_cli
struct input_dev *input;
int ret;
- if (client->addr != NVT36XXX_HW_ADDR || !client->irq)
+ if (client->addr != NVT36XXX_HW_ADDR)
return -EINVAL;
data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);
@@ -313,6 +829,12 @@ static int nvt36xxx_probe(struct i2c_cli
data->client = client;
i2c_set_clientdata(client, data);
+
+ if (gemini_touch_is_ssd2092())
+ return ssd2092_probe(client, data);
+
+ if (!client->irq)
+ return -EINVAL;
data->supplies[0].supply = "vcc";
data->supplies[1].supply = "iovcc";
ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(data->supplies),
@@ -393,6 +915,12 @@ static int nvt36xxx_suspend(struct devic
disable_irq(data->client->irq);
/* A finger down at suspend would otherwise stay down until it lifts */
+ if (data->is_ssd2092) {
+ memset(data->slots, 0, sizeof(data->slots));
+ ssd2092_report_slots(data);
+ return 0;
+ }
+
input_mt_sync_frame(data->input);
input_report_key(data->input, BTN_TOUCH, 0);
input_sync(data->input);
@@ -404,6 +932,19 @@ static int nvt36xxx_resume(struct device
{
struct nvt36xxx_data *data = dev_get_drvdata(dev);
+ if (data->is_ssd2092) {
+ int ret;
+
+ if (!data->vcc_reg)
+ ssd2092_enable_pmic_vldo28();
+ ssd2092_reset_pulse(data);
+ ret = ssd2092_boot_seeprom(data);
+ if (!ret)
+ ret = ssd2092_hw_init(data);
+ if (ret)
+ dev_warn(dev, "SSD2092 resume init failed: %d\n", ret);
+ }
+
enable_irq(data->client->irq);
return 0;
diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c
--- a/drivers/power/supply/bq25890_charger.c
+++ b/drivers/power/supply/bq25890_charger.c
@@ -1384,11 +1384,8 @@
usb = power_supply_get_by_name(bq->guard_usb_type);
if (!usb)
return false;
- if (!power_supply_get_property(usb, POWER_SUPPLY_PROP_ONLINE, &val) && val.intval &&
- !power_supply_get_property(usb, POWER_SUPPLY_PROP_USB_TYPE, &val))
- wall = val.intval == POWER_SUPPLY_USB_TYPE_DCP ||
- val.intval == POWER_SUPPLY_USB_TYPE_CDP ||
- val.intval == POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID;
+ if (!power_supply_get_property(usb, POWER_SUPPLY_PROP_ONLINE, &val) && val.intval)
+ wall = true;
power_supply_put(usb);
if (!wall || temp >= BQ25890_GUARD_WALL_HOT)
--
2.55.0
+1
View File
@@ -1,3 +1,4 @@
0001-ixoo-gemini-pda-mainline-7.3.5.patch 0001-ixoo-gemini-pda-mainline-7.3.5.patch
0002-mt6797-ccci-cldma-and-md1-domain.patch 0002-mt6797-ccci-cldma-and-md1-domain.patch
0003-arm64-dts-mediatek-geminux-gemini-pda.patch 0003-arm64-dts-mediatek-geminux-gemini-pda.patch
0004-gemini-ssd2092-display-and-touch.patch
@@ -0,0 +1,28 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 12:15:00 +0200
Subject: [PATCH] modesetting: skip modifiers when allocating CPU-mapped dumb BOs
When do_map is true (AccelMethod "none", GBM_BO_USE_WRITE | GBM_BO_USE_SCANOUT),
skip gbm_bo_create_with_modifiers{,2} so gbm_bo_create() allocates a linear
contiguous KMS dumb buffer directly from the display DRM driver without
non-IOMMU PRIME/modifier incompatibilities.
---
hw/xfree86/drivers/video/modesetting/drmmode_bo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/video/modesetting/drmmode_bo.c b/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
index 1111111..2222222 100644
--- a/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
+++ b/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
@@ -143,7 +143,7 @@ gbm_bo_create_and_map(struct gbm_device *gbm,
}
#ifdef GBM_BO_WITH_MODIFIERS
- if (count && modifiers) {
+ if (!do_map && count && modifiers) {
data->used_modifiers = TRUE;
#ifdef GBM_BO_WITH_MODIFIERS2
TRY_CREATE(gbm_bo_create_with_modifiers2, data, do_map,
--
2.55.0
@@ -0,0 +1,24 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 13:40:00 +0200
Subject: [PATCH] glx: do not embed cross-compile sysroot in DRI_DRIVER_PATH
---
include/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/meson.build b/include/meson.build
index 111111111..222222222 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -241,7 +241,7 @@ conf_data.set('DRI2', build_dri2 ? '1' : false)
conf_data.set('DRI3', build_dri3 ? '1' : false)
if build_glx
if build_glx_dri
- conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_variable(pkgconfig : 'dridriverdir'))
+ conf_data.set_quoted('DRI_DRIVER_PATH', join_paths(get_option('prefix'), get_option('libdir'), 'dri'))
conf_data.set('BUILD_GLX_DRI', 1)
endif
endif
--
2.55.0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -3030,7 +3030,7 @@ CONFIG_MFD_VEXPRESS_SYSREG=y
CONFIG_REGULATOR=y CONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set # CONFIG_REGULATOR_DEBUG is not set
CONFIG_REGULATOR_FIXED_VOLTAGE=m CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_NETLINK_EVENTS is not set # CONFIG_REGULATOR_NETLINK_EVENTS is not set
Binary file not shown.
Loaded 100 of 150 files, more files were not shown because too many files have changed in this diff. Show more