diff --git a/MANUAL.md b/MANUAL.md index 389de21..2dfe618 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -16,20 +16,21 @@ In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY` | Shortcut | Action | | --- | --- | | `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 + d` | Open `geminux-dialer` | | `Mod4 + s` | Open `geminux-sms` | | `Mod4 + n` | Open `geminux-net` | | `Mod4 + v` | Open `geminux-camera` | | `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 + h` / `l` | Adjust master split ratio (with `Mod4 + Space` / layout buttons for Tile, Monocle, Floating, Grid) | -| `Mod4 + 1..9` | Switch workspace tags (`Mod4 + Shift + 1..9` moves window to tag) | +| `Mod4 + h` / `l` | Adjust master split ratio (`Mod4 + F1..F4` for Tile, Monocle, Floating, Grid) | +| `Mod4 + 1..5` | Switch workspace tags (`Mod4 + Shift + 1..5` moves window to tag) | | `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` diff --git a/kernel/configs/geminux-mt6797x.config b/kernel/configs/geminux-mt6797x.config index 89da411..3a0d4f0 100644 --- a/kernel/configs/geminux-mt6797x.config +++ b/kernel/configs/geminux-mt6797x.config @@ -274,7 +274,7 @@ CONFIG_GENERIC_PHY=y # CONFIG_PHY_CADENCE_DPHY_RX is not set # CONFIG_PHY_CADENCE_SIERRA 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_CROS_EC is not set # CONFIG_REGULATOR_GPIO is not set diff --git a/overlay/rootfs/etc/X11/xinit/xserverrc b/overlay/rootfs/etc/X11/xinit/xserverrc index 460acd2..eb5d17c 100755 --- a/overlay/rootfs/etc/X11/xinit/xserverrc +++ b/overlay/rootfs/etc/X11/xinit/xserverrc @@ -1,2 +1,2 @@ #!/bin/sh -exec /usr/bin/X -nolisten tcp vt1 "$@" +exec /usr/bin/X -nolisten tcp -dpi 180 vt1 "$@" diff --git a/overlay/rootfs/etc/X11/xorg.conf.d/10-geminux-gpu.conf b/overlay/rootfs/etc/X11/xorg.conf.d/10-geminux-gpu.conf index 044ac41..6831b02 100644 --- a/overlay/rootfs/etc/X11/xorg.conf.d/10-geminux-gpu.conf +++ b/overlay/rootfs/etc/X11/xorg.conf.d/10-geminux-gpu.conf @@ -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" diff --git a/overlay/rootfs/etc/X11/xorg.conf.d/20-geminux-touch.conf b/overlay/rootfs/etc/X11/xorg.conf.d/20-geminux-touch.conf index 768cd23..02a4097 100644 --- a/overlay/rootfs/etc/X11/xorg.conf.d/20-geminux-touch.conf +++ b/overlay/rootfs/etc/X11/xorg.conf.d/20-geminux-touch.conf @@ -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 diff --git a/overlay/rootfs/etc/X11/xorg.conf.d/30-geminux-keyboard.conf b/overlay/rootfs/etc/X11/xorg.conf.d/30-geminux-keyboard.conf index 5e598fd..ad335b9 100644 --- a/overlay/rootfs/etc/X11/xorg.conf.d/30-geminux-keyboard.conf +++ b/overlay/rootfs/etc/X11/xorg.conf.d/30-geminux-keyboard.conf @@ -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 diff --git a/overlay/rootfs/etc/conf.d/geminux-hwinit b/overlay/rootfs/etc/conf.d/geminux-hwinit index b790231..40d2925 100644 --- a/overlay/rootfs/etc/conf.d/geminux-hwinit +++ b/overlay/rootfs/etc/conf.d/geminux-hwinit @@ -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" diff --git a/overlay/rootfs/etc/elogind/logind.conf.d/10-geminux.conf b/overlay/rootfs/etc/elogind/logind.conf.d/10-geminux.conf new file mode 100644 index 0000000..c25e80f --- /dev/null +++ b/overlay/rootfs/etc/elogind/logind.conf.d/10-geminux.conf @@ -0,0 +1,6 @@ +[Login] +HandleLidSwitch=ignore +HandleLidSwitchExternalPower=ignore +HandleLidSwitchDocked=ignore +HandlePowerKey=ignore +HandleSuspendKey=ignore diff --git a/overlay/rootfs/etc/init.d/geminux-hwinit b/overlay/rootfs/etc/init.d/geminux-hwinit index e49003e..02d67ba 100755 --- a/overlay/rootfs/etc/init.d/geminux-hwinit +++ b/overlay/rootfs/etc/init.d/geminux-hwinit @@ -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 diff --git a/overlay/rootfs/etc/init.d/geminux-usb-gadget b/overlay/rootfs/etc/init.d/geminux-usb-gadget index e9220de..4ab9703 100755 --- a/overlay/rootfs/etc/init.d/geminux-usb-gadget +++ b/overlay/rootfs/etc/init.d/geminux-usb-gadget @@ -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 diff --git a/overlay/rootfs/etc/inittab b/overlay/rootfs/etc/inittab new file mode 100644 index 0000000..295970e --- /dev/null +++ b/overlay/rootfs/etc/inittab @@ -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 diff --git a/overlay/rootfs/etc/profile.d/10-geminux-env.sh b/overlay/rootfs/etc/profile.d/10-geminux-env.sh index a6ed534..023244f 100644 --- a/overlay/rootfs/etc/profile.d/10-geminux-env.sh +++ b/overlay/rootfs/etc/profile.d/10-geminux-env.sh @@ -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 diff --git a/overlay/rootfs/etc/skel/.Xresources b/overlay/rootfs/etc/skel/.Xresources index c2c07fe..92db5d2 100644 --- a/overlay/rootfs/etc/skel/.Xresources +++ b/overlay/rootfs/etc/skel/.Xresources @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/CatppuccinLatte.xth b/overlay/rootfs/etc/skel/.xthemes/CatppuccinLatte.xth index 545e9a9..359ea86 100644 --- a/overlay/rootfs/etc/skel/.xthemes/CatppuccinLatte.xth +++ b/overlay/rootfs/etc/skel/.xthemes/CatppuccinLatte.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/CatppuccinMocha.xth b/overlay/rootfs/etc/skel/.xthemes/CatppuccinMocha.xth index 4cf434f..8cdf2e0 100644 --- a/overlay/rootfs/etc/skel/.xthemes/CatppuccinMocha.xth +++ b/overlay/rootfs/etc/skel/.xthemes/CatppuccinMocha.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/Cyberpunk.xth b/overlay/rootfs/etc/skel/.xthemes/Cyberpunk.xth index ccab6d3..0bad0d0 100644 --- a/overlay/rootfs/etc/skel/.xthemes/Cyberpunk.xth +++ b/overlay/rootfs/etc/skel/.xthemes/Cyberpunk.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/Default.xth b/overlay/rootfs/etc/skel/.xthemes/Default.xth index 1ba5610..d4f1e5a 100644 --- a/overlay/rootfs/etc/skel/.xthemes/Default.xth +++ b/overlay/rootfs/etc/skel/.xthemes/Default.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/Dracula.xth b/overlay/rootfs/etc/skel/.xthemes/Dracula.xth index 44bcc86..c3a8a0a 100644 --- a/overlay/rootfs/etc/skel/.xthemes/Dracula.xth +++ b/overlay/rootfs/etc/skel/.xthemes/Dracula.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/EverforestDark.xth b/overlay/rootfs/etc/skel/.xthemes/EverforestDark.xth index 0f4d963..62d0ab5 100644 --- a/overlay/rootfs/etc/skel/.xthemes/EverforestDark.xth +++ b/overlay/rootfs/etc/skel/.xthemes/EverforestDark.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/GeminuxHelio.xth b/overlay/rootfs/etc/skel/.xthemes/GeminuxHelio.xth index c2c07fe..92db5d2 100644 --- a/overlay/rootfs/etc/skel/.xthemes/GeminuxHelio.xth +++ b/overlay/rootfs/etc/skel/.xthemes/GeminuxHelio.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/GitHubDark.xth b/overlay/rootfs/etc/skel/.xthemes/GitHubDark.xth index d92c83a..35d2e3f 100644 --- a/overlay/rootfs/etc/skel/.xthemes/GitHubDark.xth +++ b/overlay/rootfs/etc/skel/.xthemes/GitHubDark.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/GruvboxDark.xth b/overlay/rootfs/etc/skel/.xthemes/GruvboxDark.xth index 3d5b309..e59e0e7 100644 --- a/overlay/rootfs/etc/skel/.xthemes/GruvboxDark.xth +++ b/overlay/rootfs/etc/skel/.xthemes/GruvboxDark.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/GruvboxLight.xth b/overlay/rootfs/etc/skel/.xthemes/GruvboxLight.xth index 280b2b1..0b3c414 100644 --- a/overlay/rootfs/etc/skel/.xthemes/GruvboxLight.xth +++ b/overlay/rootfs/etc/skel/.xthemes/GruvboxLight.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/Kanagawa.xth b/overlay/rootfs/etc/skel/.xthemes/Kanagawa.xth index f07ac4a..8089ba2 100644 --- a/overlay/rootfs/etc/skel/.xthemes/Kanagawa.xth +++ b/overlay/rootfs/etc/skel/.xthemes/Kanagawa.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/LinuxConsole.xth b/overlay/rootfs/etc/skel/.xthemes/LinuxConsole.xth index d201b72..19332b1 100644 --- a/overlay/rootfs/etc/skel/.xthemes/LinuxConsole.xth +++ b/overlay/rootfs/etc/skel/.xthemes/LinuxConsole.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/LynxLair.xth b/overlay/rootfs/etc/skel/.xthemes/LynxLair.xth index 2fbd4cc..6612de9 100644 --- a/overlay/rootfs/etc/skel/.xthemes/LynxLair.xth +++ b/overlay/rootfs/etc/skel/.xthemes/LynxLair.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/MatrixGreen.xth b/overlay/rootfs/etc/skel/.xthemes/MatrixGreen.xth index 0627da7..05a907f 100644 --- a/overlay/rootfs/etc/skel/.xthemes/MatrixGreen.xth +++ b/overlay/rootfs/etc/skel/.xthemes/MatrixGreen.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/MonokaiPro.xth b/overlay/rootfs/etc/skel/.xthemes/MonokaiPro.xth index c417a03..979cc73 100644 --- a/overlay/rootfs/etc/skel/.xthemes/MonokaiPro.xth +++ b/overlay/rootfs/etc/skel/.xthemes/MonokaiPro.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/NordFrost.xth b/overlay/rootfs/etc/skel/.xthemes/NordFrost.xth index 294051d..cd45ab6 100644 --- a/overlay/rootfs/etc/skel/.xthemes/NordFrost.xth +++ b/overlay/rootfs/etc/skel/.xthemes/NordFrost.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/OneDark.xth b/overlay/rootfs/etc/skel/.xthemes/OneDark.xth index 5afbfb2..877ddde 100644 --- a/overlay/rootfs/etc/skel/.xthemes/OneDark.xth +++ b/overlay/rootfs/etc/skel/.xthemes/OneDark.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/RosePine.xth b/overlay/rootfs/etc/skel/.xthemes/RosePine.xth index abae4f7..55175d3 100644 --- a/overlay/rootfs/etc/skel/.xthemes/RosePine.xth +++ b/overlay/rootfs/etc/skel/.xthemes/RosePine.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/SolarizedDark.xth b/overlay/rootfs/etc/skel/.xthemes/SolarizedDark.xth index d8d8994..554739a 100644 --- a/overlay/rootfs/etc/skel/.xthemes/SolarizedDark.xth +++ b/overlay/rootfs/etc/skel/.xthemes/SolarizedDark.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/SolarizedLight.xth b/overlay/rootfs/etc/skel/.xthemes/SolarizedLight.xth index 8334451..9631977 100644 --- a/overlay/rootfs/etc/skel/.xthemes/SolarizedLight.xth +++ b/overlay/rootfs/etc/skel/.xthemes/SolarizedLight.xth @@ -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 diff --git a/overlay/rootfs/etc/skel/.xthemes/TokyoNight.xth b/overlay/rootfs/etc/skel/.xthemes/TokyoNight.xth index 9dceb1a..0c541b1 100644 --- a/overlay/rootfs/etc/skel/.xthemes/TokyoNight.xth +++ b/overlay/rootfs/etc/skel/.xthemes/TokyoNight.xth @@ -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 diff --git a/overlay/rootfs/usr/bin/geminux-launcher b/overlay/rootfs/usr/bin/geminux-launcher index 33dca92..b93b57f 100755 --- a/overlay/rootfs/usr/bin/geminux-launcher +++ b/overlay/rootfs/usr/bin/geminux-launcher @@ -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}')" diff --git a/overlay/rootfs/usr/bin/geminux-session b/overlay/rootfs/usr/bin/geminux-session index 19ee4b3..3cd2a45 100755 --- a/overlay/rootfs/usr/bin/geminux-session +++ b/overlay/rootfs/usr/bin/geminux-session @@ -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 diff --git a/overlay/rootfs/usr/bin/geminux-sync-dunst-theme b/overlay/rootfs/usr/bin/geminux-sync-dunst-theme index bd3f038..062d677 100755 --- a/overlay/rootfs/usr/bin/geminux-sync-dunst-theme +++ b/overlay/rootfs/usr/bin/geminux-sync-dunst-theme @@ -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" < "$OUT_CONF.tmp" <