AlynxZhou / showmethekey

Show keys you typed on screen.
https://showmethekey.alynx.one/
Apache License 2.0
329 stars 26 forks source link

如何调整字体大小? #33

Closed everyx closed 11 months ago

everyx commented 11 months ago

你好,开启后如下图所示,字体显示太小了,请问如何调整这个字体的大小呢?

图片

showmethekey 版本如下:

❯ paru -Qi showmethekey 
Name            : showmethekey
Version         : 1.12.0-1
Description     : A screenkey alternative that works under Wayland via libinput.
Architecture    : x86_64
URL             : https://showmethekey.alynx.one/
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : libevdev  udev  libinput  glib2  gtk4  libadwaita  json-glib  cairo  pango  libxkbcommon  polkit
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 143.25 KiB
Packager        : lilac (on behalf of Alynx Zhou) <alynx.zhou@suse.com>
Build Date      : Fri 10 Nov 2023 08:56:53 PM CST
Install Date    : Sat 11 Nov 2023 08:28:19 AM CST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

我的桌面环境如下:

❯ fastfetch 
                  -`                     everyx@Arch
                 .o+`                    -----------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: TM1604 (XMAKB3M0P1A12)
              `+oooooo:                  Kernel: 6.6.2-arch1-1
              -+oooooo+:                 Uptime: 19 hours, 35 mins
            `/:-:++oooo+:                Packages: 1452 (pacman)
           `/++++/+++++++:               Shell: fish 3.6.1
          `/++++++++++++++:              Display (Dell Inc. 24"): 1920x1200 @ 60Hz [External]
         `/+++ooooooooooooo/`            Display (BOE06B7): 1920x1080 @ 60Hz [Built-in]
        ./ooosssso++osssssso+`           DE: Gnome 45.1
       .oossssso-````/ossssss+`          WM: Mutter (Wayland)
      -osssssso.      :ssssssso.         WM Theme: Custom-Accent-Colors
     :osssssss/        osssso+++.        Theme: Adw [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Icons: ePapirus-Dark [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Font: Sans (10pt) [GTK2/3/4]
 `+sso+:-`                 `.-/+oso:     Cursor: Adwaita (24px)
`++:.                           `-/+/    Terminal: GNOME Console 45.0
.`                                 `/    Terminal Font: Monospace (10pt)
AlynxZhou commented 11 months ago

主窗口里面,左上角启动之前,把高度设大一点。或者启动之后像拉大普通窗口那样拉大悬浮窗口,字体会自动随着窗口大小变化。