Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Clock & Date

Open onesounds opened this issue 3 years ago • 4 comments

https://github.com/Flow-Launcher/Flow.Launcher/discussions/717 https://github.com/Flow-Launcher/Flow.Launcher/issues/1286

image image

What's the PR?

  • Add Clock & Date (Time and Cultural info based System Setting) in query area
  • It is possible to turn on and off each. (Clock only, Date only, off all)
  • Default(when first launch) is Clock only
  • Auto Hide when typing or open History/Context menu (this feature is style trigger in xaml only)
  • Add Clock and Date Color in themes

Tests

  • [x] The watch and date should disappear when appropriate.
  • [x] Changing time in real time.
  • [x] Settings shall be applied immediately.
  • [ ] It should not significantly affect the speed of the process.

Todo (need help!)

  • [ ] The clock code needs to be organized. (mainwindow.cs in now)
  • [x] The preview should work on the theme.

ETC

  • If someone want like "DDDD HH:MM"... ?
  • I don't know how to give the option for user.
  • I currently feel that this option is unnecessary.

onesounds avatar Sep 01 '22 07:09 onesounds

Looks great!

Garulf avatar Sep 01 '22 08:09 Garulf

Is the theme changed only because of reformatting except base.xaml?

taooceros avatar Sep 01 '22 14:09 taooceros

Is the theme changed only because of reformatting except base.xaml?

Both had to be edited.

  • Themes : I just added colors (clock font, date font). if user want, user can margin (if theme doesn't have search image), font size, colors)
  • Base : Default color and positioning, Animation / Fade-in & out animation.

You should check the clock code!

onesounds avatar Sep 01 '22 23:09 onesounds

image

  • Added Clock/Date Format Combo box
  • Added Clock/Date Preview (when Toggled or Changed Format)

onesounds avatar Sep 05 '22 10:09 onesounds

I run into high memory usage when this pr was tested along with some others not sure if it's from this pr but let me have another test.

jjw24 avatar Oct 02 '22 08:10 jjw24

@onesounds @taooceros merge Dev please

jjw24 avatar Oct 25 '22 02:10 jjw24