为什么值得关注
它兼具精致的翻页动画与 Plasma 原生天气集成,是 Plasma 6 桌面上颇具特色的小组件。
适合谁使用
- KDE Plasma 6 桌面用户
- 喜欢自定义桌面小组件的人
- 希望在桌面查看天气的用户
- 对 QML 和像素对比工具感兴趣的 Plasma 组件开发者
典型使用场景
- 用翻页时钟外观替换默认的 Plasma 时钟
- 在桌面显示当前天气状况和温度
- 按配置的时区或 12 小时制显示时间
- 通过日期和自定义文字条个性化桌面
项目优势
- 具有动画效果的时、分双阶段卡片翻转
- 支持 12 小时和 24 小时制、日期及自定义文字条
- 天气功能复用 Plasma 的 weather 引擎,无需额外天气服务账户
- 可配置时区、天气和动画设置
使用前须知
- 需要 KDE Plasma 6.7 或更高版本
- 天气为可选功能;若没有可用的 Plasma 天气源,可能需要手动选择城市或站点
- 不直接读取 KWeather 保存的位置,因此位置可能需要在该组件中重新选择
README 快速开始
Flip Clock for KDE Plasma 6
A polished, skeuomorphic flip-clock widget for KDE Plasma 6, inspired by the classic HTC Sense clock.
Requirements
Plasma 6.7 or newer.
Install
Install it from the KDE Store through
Add Widgets → Get New Widgets…, or download the .plasmoid file from a
GitHub release and
run:
kpackagetool6 --type Plasma/Applet --install ./io.github.pruefsumme.flipclock-0.1.0.plasmoid
Add Flip Clock as a desktop widget. To update an existing installation,
replace --install with --upgrade.
Highlights
- Animated two-phase hour and minute card flips
- 12-hour and 24-hour formats, date, and custom text strips
- Optional Plasma weather readout with original layered illustrations
- Configurable time zone and animation settings
Development
export PATH=/usr/lib/qt6/bin:$PATH
qmllint -I /usr/lib/qt6/qml -I package/contents/ui package/contents/ui/*.qml
Render a fixed scene and compare it with the project’s pixel-diff tooling:
tools/snap.sh DiffProbe.qml 996 566 tools/out/render.png
tools/pixdiff.py tools/out/render.png --write-diff tools/out/diff.png
Weather
Weather is opt-in. Enable Show weather in the widget settings to reuse an
active source from Plasma's standard weather engine, or select a city or
station for Flip Clock to use directly. No separate weather-service account is
required.
The readout includes location, condition, temperature, range, and 12 original layered weather states. KWeather saved places are not read directly; select the same location once in Flip Clock if needed.
License
AGPL-3.0-or-later. The bundled Roboto Condensed font remains under the SIL Open Font License 1.1; see LICENSE.txt.