mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1329] [MERGED] feat(bar): changing icons based on the time #1328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1329
Author: @CtByte
Created: 3/8/2025
Status: ✅ Merged
Merged: 3/9/2025
Merged by: @LGUG2Z
Base:
master← Head:time_icons📝 Commits (1)
39eab5ffeat(bar): changing icons based on the time📊 Changes
5 files changed (+122 additions, -27 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
komorebi-bar/Cargo.toml(+1 -0)📝
komorebi-bar/src/date.rs(+4 -3)📝
komorebi-bar/src/time.rs(+104 -24)📝
schema.bar.json(+12 -0)📄 Description
This commit adds a little Easter egg on the time widget.
Use the
changing_iconsetting to enable this feature.Based on the current time, the widget will use different icons to indicate certain activities of the day.
00:00 MOON
06:00 ALARM
06:01 BREAD
06:30 BARBELL
08:00 COFFEE
08:30 CLOCK
12:00 HAMBURGER
12:30 CLOCK_AFTERNOON
18:00 FORK_KNIFE
18:30 MOON_STARS
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.