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
+2356 -446

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
#!/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"
Option "PrimaryGPU" "true"
Option "SWcursor" "true"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "AccelMethod" "none"
Option "ShadowFB" "true"
Option "PageFlip" "false"
EndSection
Section "OutputClass"
@@ -13,9 +14,10 @@ Section "OutputClass"
MatchDriver "mediatek"
Driver "modesetting"
Option "PrimaryGPU" "true"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Option "TearFree" "true"
Option "SWcursor" "true"
Option "AccelMethod" "none"
Option "ShadowFB" "true"
Option "PageFlip" "false"
EndSection
Section "Monitor"
@@ -3,11 +3,7 @@ Section "InputClass"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
# Panel scans 1080x2160 portrait, mounted left-side-up (Rotate "left" / 270 deg).
# Kernel nt36xxx driver reports portrait coords; transform to 2160x1080 landscape.
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
Option "Tapping" "on"
Option "TappingDrag" "on"
Option "ClickMethod" "clickfinger"
Option "ScrollMethod" "twofinger"
# Panel scans 1080x2160 portrait, mounted left-side-up (Rotate "left" / 270 deg CCW).
# DTB applies touchscreen-inverted-x/y; map portrait (xp,yp) -> landscape (1-yp, xp).
Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
@@ -5,8 +5,8 @@ Section "InputClass"
Driver "libinput"
Option "XkbRules" "evdev"
Option "XkbModel" "pc105"
Option "XkbTypes" "complete+geminux"
Option "XkbLayout" "planet_vndr/geminux"
Option "XkbVariant" "us"
Option "XkbOptions" "custom:types"
Option "AutoRepeat" "300 35"
EndSection
+1 -1
View File
@@ -4,5 +4,5 @@ GEMINUX_ENABLE_AUDIO="yes"
GEMINUX_ENABLE_CONSYS="yes"
GEMINUX_ENABLE_CAMERA="yes"
GEMINUX_ENABLE_CCCI="yes"
GEMINUX_ENABLE_MEDIATEK_DRM="no"
GEMINUX_ENABLE_MEDIATEK_DRM="yes"
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
lcm="$(tr -d '\0' < /sys/firmware/devicetree/base/chosen/atag,videolfb-lcmname 2>/dev/null || true)"
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
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
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
load_group a72 mt6797-a72 clk-mt6797-mcusys cpufreq-dt mtk-cci-devfreq
fi
+33 -4
View File
@@ -21,13 +21,19 @@ start() {
for role_file in /sys/class/usb_role/*/role; do
[ -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
fi
done
udc_name="$(ls -1 /sys/class/udc 2>/dev/null | head -n1 || true)"
if [ -z "$udc_name" ]; then
i=0
while [ "$i" -lt 20 ]; do
udc_name="$(ls -1 /sys/class/udc 2>/dev/null | head -n1 || true)"
[ -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"
eend 0
return 0
@@ -52,7 +58,7 @@ start() {
fi
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
i=$((i + 1))
done
@@ -60,12 +66,35 @@ start() {
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 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
eend 0
}
stop() {
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
echo "" > "$G/UDC" 2>/dev/null || true
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 GDK_BACKEND=x11
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.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #0f1419
theme.bgBar: #0b0e14
@@ -37,7 +37,7 @@ theme.warning: #ffb454
theme.danger: #f07178
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.foreground: #e6e1cf
dmenu.selbackground: #2b5278
@@ -46,7 +46,7 @@ dmenu.outbackground: #243040
dmenu.outforeground: #ffffff
dmenu.highlight: #ffb454
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0b0e14
dwm.foreground: #e6e1cf
dwm.border: #283444
@@ -59,11 +59,14 @@ dwm.normfgcolor: #e6e1cf
dwm.selbgcolor: #2b5278
dwm.selbordercolor: #59c2ff
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.background: #0f1419
st.foreground: #e6e1cf
st.cursorColor: #59c2ff
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: CatppuccinLatte
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #eff1f5
theme.bgBar: #eff1f5
@@ -40,7 +40,7 @@ theme.warning: #fe640b
theme.danger: #d20f39
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.foreground: #1e1e2e
dmenu.selbackground: #7287fd
@@ -49,7 +49,7 @@ dmenu.outbackground: #ccd0da
dmenu.outforeground: #1e1e2e
dmenu.highlight: #df8e1d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #eff1f5
dwm.foreground: #4c4f69
dwm.border: #bcc0cc
@@ -62,10 +62,13 @@ dwm.normfgcolor: #4c4f69
dwm.selbgcolor: #7287fd
dwm.selbordercolor: #7287fd
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.background: #e6e9ef
st.foreground: #4c4f69
st.cursorColor: #8839ef
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: CatppuccinMocha
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #1e1e2e
theme.bgBar: #1e1e2e
@@ -40,7 +40,7 @@ theme.warning: #fab387
theme.danger: #f38ba8
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.foreground: #ffffff
dmenu.selbackground: #724b9e
@@ -49,7 +49,7 @@ dmenu.outbackground: #3b3c54
dmenu.outforeground: #ffffff
dmenu.highlight: #f9e2af
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1e1e2e
dwm.foreground: #cdd6f4
dwm.border: #45475a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #cdd6f4
dwm.selbgcolor: #724b9e
dwm.selbordercolor: #724b9e
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.background: #181825
st.foreground: #cdd6f4
st.cursorColor: #cba6f7
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: Cyberpunk
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #000000
theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #fcee0a
theme.danger: #ff0055
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.foreground: #ffffff
dmenu.selbackground: #0066cc
@@ -49,7 +49,7 @@ dmenu.outbackground: #0d1f33
dmenu.outforeground: #ffffff
dmenu.highlight: #fcee0a
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000
dwm.foreground: #e0f7ff
dwm.border: #004477
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e0f7ff
dwm.selbgcolor: #0066cc
dwm.selbordercolor: #0066cc
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.background: #000000
st.foreground: #e0f7ff
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.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #222222
theme.bgBar: #222222
@@ -40,7 +40,7 @@ theme.warning: #e67e22
theme.danger: #e74c3c
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.foreground: #ffffff
dmenu.selbackground: #005577
@@ -49,7 +49,7 @@ dmenu.outbackground: #383838
dmenu.outforeground: #ffffff
dmenu.highlight: #ffc978
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #222222
dwm.foreground: #dddddd
dwm.border: #444444
@@ -62,10 +62,13 @@ dwm.normfgcolor: #dddddd
dwm.selbgcolor: #005577
dwm.selbordercolor: #005577
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.background: #1c1c1c
st.foreground: #dddddd
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.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #282a36
theme.bgBar: #282a36
@@ -40,7 +40,7 @@ theme.warning: #ffb86c
theme.danger: #ff5555
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.foreground: #ffffff
dmenu.selbackground: #6272a4
@@ -49,7 +49,7 @@ dmenu.outbackground: #44475a
dmenu.outforeground: #ffffff
dmenu.highlight: #f1fa8c
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282a36
dwm.foreground: #f8f8f2
dwm.border: #44475a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #f8f8f2
dwm.selbgcolor: #6272a4
dwm.selbordercolor: #6272a4
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.background: #21222c
st.foreground: #f8f8f2
st.cursorColor: #bd93f9
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: EverforestDark
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #2d353b
theme.bgBar: #2d353b
@@ -40,7 +40,7 @@ theme.warning: #e69875
theme.danger: #e67e80
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.foreground: #fdf6e3
dmenu.selbackground: #426348
@@ -49,7 +49,7 @@ dmenu.outbackground: #475258
dmenu.outforeground: #fdf6e3
dmenu.highlight: #dbbc7f
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #2d353b
dwm.foreground: #d3c6aa
dwm.border: #475258
@@ -62,10 +62,13 @@ dwm.normfgcolor: #d3c6aa
dwm.selbgcolor: #426348
dwm.selbordercolor: #426348
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.background: #232a2e
st.foreground: #d3c6aa
st.cursorColor: #a7c080
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -2,7 +2,7 @@
theme.name: GeminuxHelio
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #0f1419
theme.bgBar: #0b0e14
@@ -37,7 +37,7 @@ theme.warning: #ffb454
theme.danger: #f07178
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.foreground: #e6e1cf
dmenu.selbackground: #2b5278
@@ -46,7 +46,7 @@ dmenu.outbackground: #243040
dmenu.outforeground: #ffffff
dmenu.highlight: #ffb454
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0b0e14
dwm.foreground: #e6e1cf
dwm.border: #283444
@@ -59,11 +59,14 @@ dwm.normfgcolor: #e6e1cf
dwm.selbgcolor: #2b5278
dwm.selbordercolor: #59c2ff
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.background: #0f1419
st.foreground: #e6e1cf
st.cursorColor: #59c2ff
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GitHubDark
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #0d1117
theme.bgBar: #0d1117
@@ -40,7 +40,7 @@ theme.warning: #d29922
theme.danger: #f85149
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.foreground: #f0f6fc
dmenu.selbackground: #1f6feb
@@ -49,7 +49,7 @@ dmenu.outbackground: #21262d
dmenu.outforeground: #f0f6fc
dmenu.highlight: #e3b341
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0d1117
dwm.foreground: #c9d1d9
dwm.border: #30363d
@@ -62,10 +62,13 @@ dwm.normfgcolor: #c9d1d9
dwm.selbgcolor: #1f6feb
dwm.selbordercolor: #1f6feb
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.background: #090c10
st.foreground: #c9d1d9
st.cursorColor: #58a6ff
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GruvboxDark
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #282828
theme.bgBar: #282828
@@ -40,7 +40,7 @@ theme.warning: #fe8019
theme.danger: #fb4934
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.foreground: #fbf1c7
dmenu.selbackground: #b57614
@@ -49,7 +49,7 @@ dmenu.outbackground: #504945
dmenu.outforeground: #fbf1c7
dmenu.highlight: #fe8019
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282828
dwm.foreground: #ebdbb2
dwm.border: #504945
@@ -62,10 +62,13 @@ dwm.normfgcolor: #ebdbb2
dwm.selbgcolor: #b57614
dwm.selbordercolor: #b57614
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.background: #1d2021
st.foreground: #ebdbb2
st.cursorColor: #fabd2f
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: GruvboxLight
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #fbf1c7
theme.bgBar: #fbf1c7
@@ -40,7 +40,7 @@ theme.warning: #b57614
theme.danger: #9d0006
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.foreground: #1d2021
dmenu.selbackground: #b57614
@@ -49,7 +49,7 @@ dmenu.outbackground: #d5c4a1
dmenu.outforeground: #1d2021
dmenu.highlight: #d65d0e
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #fbf1c7
dwm.foreground: #3c3836
dwm.border: #d5c4a1
@@ -62,10 +62,13 @@ dwm.normfgcolor: #3c3836
dwm.selbgcolor: #b57614
dwm.selbordercolor: #b57614
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.background: #f2e5bc
st.foreground: #3c3836
st.cursorColor: #af3a03
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: Kanagawa
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #1f1f28
theme.bgBar: #1f1f28
@@ -40,7 +40,7 @@ theme.warning: #ff9e3b
theme.danger: #e82424
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.foreground: #ffffff
dmenu.selbackground: #2d4f67
@@ -49,7 +49,7 @@ dmenu.outbackground: #363646
dmenu.outforeground: #ffffff
dmenu.highlight: #ffa066
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1f1f28
dwm.foreground: #dcd7ba
dwm.border: #363646
@@ -62,10 +62,13 @@ dwm.normfgcolor: #dcd7ba
dwm.selbgcolor: #2d4f67
dwm.selbordercolor: #2d4f67
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.background: #16161d
st.foreground: #dcd7ba
st.cursorColor: #e6c384
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: LinuxConsole
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #000000
theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #ffff55
theme.danger: #ff5555
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.foreground: #ffffff
dmenu.selbackground: #0055aa
@@ -49,7 +49,7 @@ dmenu.outbackground: #1f1f1f
dmenu.outforeground: #ffffff
dmenu.highlight: #ffff55
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000
dwm.foreground: #aaaaaa
dwm.border: #333333
@@ -62,10 +62,13 @@ dwm.normfgcolor: #aaaaaa
dwm.selbgcolor: #0055aa
dwm.selbordercolor: #0055aa
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.background: #000000
st.foreground: #aaaaaa
st.cursorColor: #55ff55
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: LynxLair
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #000000
theme.bgBar: #000000
@@ -40,7 +40,7 @@ theme.warning: #e0a044
theme.danger: #d62828
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.foreground: #efe5c0
dmenu.selbackground: #9e6210
@@ -49,7 +49,7 @@ dmenu.outbackground: #4d3008
dmenu.outforeground: #fff8dc
dmenu.highlight: #ffb84d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #000000
dwm.foreground: #efe5c0
dwm.border: #5c3b0c
@@ -62,10 +62,13 @@ dwm.normfgcolor: #efe5c0
dwm.selbgcolor: #9e6210
dwm.selbordercolor: #e0a044
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.background: #000000
st.foreground: #efe5c0
st.cursorColor: #e0a044
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: MatrixGreen
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #0a140c
theme.bgBar: #0a140c
@@ -40,7 +40,7 @@ theme.warning: #f1c40f
theme.danger: #e74c3c
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.foreground: #e0ffe4
dmenu.selbackground: #196627
@@ -49,7 +49,7 @@ dmenu.outbackground: #18301c
dmenu.outforeground: #e0ffe4
dmenu.highlight: #80ff9d
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #0a140c
dwm.foreground: #a8ffb2
dwm.border: #1e4224
@@ -62,10 +62,13 @@ dwm.normfgcolor: #a8ffb2
dwm.selbgcolor: #196627
dwm.selbordercolor: #196627
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.background: #070e08
st.foreground: #a8ffb2
st.cursorColor: #00ff41
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: MonokaiPro
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #272822
theme.bgBar: #272822
@@ -40,7 +40,7 @@ theme.warning: #fd971f
theme.danger: #f92672
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.foreground: #ffffff
dmenu.selbackground: #a61c52
@@ -49,7 +49,7 @@ dmenu.outbackground: #414339
dmenu.outforeground: #ffffff
dmenu.highlight: #e6db74
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #272822
dwm.foreground: #f8f8f2
dwm.border: #49483e
@@ -62,10 +62,13 @@ dwm.normfgcolor: #f8f8f2
dwm.selbgcolor: #a61c52
dwm.selbordercolor: #a61c52
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.background: #1e1f1c
st.foreground: #f8f8f2
st.cursorColor: #a6e22e
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: NordFrost
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #2e3440
theme.bgBar: #2e3440
@@ -40,7 +40,7 @@ theme.warning: #d08770
theme.danger: #bf616a
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.foreground: #eceff4
dmenu.selbackground: #5e81ac
@@ -49,7 +49,7 @@ dmenu.outbackground: #434c5e
dmenu.outforeground: #eceff4
dmenu.highlight: #ebcb8b
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #2e3440
dwm.foreground: #e5e9f0
dwm.border: #4c566a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e5e9f0
dwm.selbgcolor: #5e81ac
dwm.selbordercolor: #5e81ac
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.background: #242933
st.foreground: #e5e9f0
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.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #282c34
theme.bgBar: #282c34
@@ -40,7 +40,7 @@ theme.warning: #d19a66
theme.danger: #e06c75
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.foreground: #ffffff
dmenu.selbackground: #2c5380
@@ -49,7 +49,7 @@ dmenu.outbackground: #3e4451
dmenu.outforeground: #ffffff
dmenu.highlight: #e5c07b
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #282c34
dwm.foreground: #abb2bf
dwm.border: #3e4451
@@ -62,10 +62,13 @@ dwm.normfgcolor: #abb2bf
dwm.selbgcolor: #2c5380
dwm.selbordercolor: #2c5380
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.background: #21252b
st.foreground: #abb2bf
st.cursorColor: #61afef
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: RosePine
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #191724
theme.bgBar: #191724
@@ -40,7 +40,7 @@ theme.warning: #f6c177
theme.danger: #eb6f92
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.foreground: #ffffff
dmenu.selbackground: #6e5694
@@ -49,7 +49,7 @@ dmenu.outbackground: #332f4c
dmenu.outforeground: #ffffff
dmenu.highlight: #f6c177
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #191724
dwm.foreground: #e0def4
dwm.border: #403d52
@@ -62,10 +62,13 @@ dwm.normfgcolor: #e0def4
dwm.selbgcolor: #6e5694
dwm.selbordercolor: #6e5694
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.background: #1f1d2e
st.foreground: #e0def4
st.cursorColor: #ebbcba
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: SolarizedDark
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #002b36
theme.bgBar: #002b36
@@ -40,7 +40,7 @@ theme.warning: #cb4b16
theme.danger: #dc322f
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.foreground: #fdf6e3
dmenu.selbackground: #268bd2
@@ -49,7 +49,7 @@ dmenu.outbackground: #0d4352
dmenu.outforeground: #fdf6e3
dmenu.highlight: #cb4b16
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #002b36
dwm.foreground: #93a1a1
dwm.border: #164c5a
@@ -62,10 +62,13 @@ dwm.normfgcolor: #93a1a1
dwm.selbgcolor: #268bd2
dwm.selbordercolor: #268bd2
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.background: #00212b
st.foreground: #93a1a1
st.cursorColor: #b58900
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: SolarizedLight
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #fdf6e3
theme.bgBar: #fdf6e3
@@ -40,7 +40,7 @@ theme.warning: #cb4b16
theme.danger: #dc322f
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.foreground: #073642
dmenu.selbackground: #268bd2
@@ -49,7 +49,7 @@ dmenu.outbackground: #d9d2bd
dmenu.outforeground: #073642
dmenu.highlight: #cb4b16
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #fdf6e3
dwm.foreground: #283739
dwm.border: #93a1a1
@@ -62,10 +62,13 @@ dwm.normfgcolor: #283739
dwm.selbgcolor: #268bd2
dwm.selbordercolor: #268bd2
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.background: #fdf6e3
st.foreground: #283739
st.cursorColor: #b58900
Xft.dpi: 168
Xft.dpi: 192
Xcursor.theme: default
Xcursor.size: 64
@@ -5,7 +5,7 @@
theme.name: TokyoNight
theme.fontFace: Fira Code
theme.iconFontFace: DejaVuSansM Nerd Font
theme.baseFontSize: 22
theme.baseFontSize: 32
theme.bgMain: #1a1b26
theme.bgBar: #1a1b26
@@ -40,7 +40,7 @@ theme.warning: #e0af68
theme.danger: #f7768e
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.foreground: #ffffff
dmenu.selbackground: #3d59a1
@@ -49,7 +49,7 @@ dmenu.outbackground: #2f3549
dmenu.outforeground: #ffffff
dmenu.highlight: #e0af68
dwm.font: Fira Code, DejaVuSansM Nerd Font 20px
dwm.font: Fira Code, DejaVuSansM Nerd Font 38px
dwm.background: #1a1b26
dwm.foreground: #c0caf5
dwm.border: #3b4261
@@ -62,10 +62,13 @@ dwm.normfgcolor: #c0caf5
dwm.selbgcolor: #3d59a1
dwm.selbordercolor: #3d59a1
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.background: #16161e
st.foreground: #c0caf5
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.
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="
 Terminal|st
 Dialer|geminux-dialer
@@ -31,7 +47,7 @@ build_menu() {
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
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
fi
if [ ! -f "$HOME_DIR/.Xresources" ] && [ -f /etc/skel/.Xresources ]; then
cp -f /etc/skel/.Xresources "$HOME_DIR/.Xresources"
fi
if [ ! -d "$HOME_DIR/.xthemes" ] && [ -d /etc/skel/.xthemes ]; then
if [ ! -f "$HOME_DIR/.Xresources" ] || \
grep -qE '^(Xcursor\.size:[[:space:]]*42|dmenu\.font:.*pixelsize=)' "$HOME_DIR/.Xresources" 2>/dev/null; then
[ -f /etc/skel/.Xresources ] && cp -f /etc/skel/.Xresources "$HOME_DIR/.Xresources"
[ -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"
fi
@@ -41,7 +42,7 @@ EOF
fi
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
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")"
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
''|*[!0-9]*) BASE_SIZE=22 ;;
''|*[!0-9]*) BASE_SIZE=32 ;;
esac
PT_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
pt = b * 0.55
if (pt < 9.0) pt = 9.0
if (pt > 16.0) pt = 16.0
printf "%.1f", pt
PX_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
px = int(b + 2)
if (px < 30) px = 30
if (px > 44) px = 44
printf "%dpx", px
}')"
OUT_CONF="${GEMINUX_DUNSTRC:-$HOME_DIR/.config/dunst/dunstrc}"
@@ -61,21 +61,21 @@ cat > "$OUT_CONF.tmp" <<EOF
[global]
monitor = 0
follow = mouse
width = 560
height = (0, 220)
width = 720
height = (0, 360)
origin = top-right
offset = (16, 48)
offset = (20, 88)
notification_limit = 5
progress_bar = true
padding = 12
horizontal_padding = 16
text_icon_padding = 12
frame_width = 2
padding = 18
horizontal_padding = 22
text_icon_padding = 16
frame_width = 3
frame_color = "$ACCENT"
separator_color = "$BORDER"
corner_radius = 6
corner_radius = 8
idle_threshold = 120
font = $FONT_FACE $PT_SIZE
font = $FONT_FACE $PX_SIZE
markup = full
format = "<b>%s</b>\n%b"
alignment = left
@@ -83,7 +83,7 @@ cat > "$OUT_CONF.tmp" <<EOF
show_age_threshold = 60
word_wrap = yes
icon_position = left
max_icon_size = 48
max_icon_size = 64
dmenu = /usr/bin/dmenu -p dunst:
mouse_left_click = do_action, close_current
mouse_middle_click = close_current
@@ -6,11 +6,13 @@ partial hidden alphanumeric_keys modifier_keys
xkb_symbols "modifiers" {
key <LWIN> {
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> {
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 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