Merge pull request #4390 from aidansunbury/master

Support millisecond precision for script intervals
This commit is contained in:
Alexis Rouillard
2025-10-01 14:22:17 +02:00
committed by GitHub
10 changed files with 31 additions and 19 deletions

View File

@ -21,7 +21,7 @@ class ALabel : public AModule {
protected:
Gtk::Label label_;
std::string format_;
const std::chrono::seconds interval_;
const std::chrono::milliseconds interval_;
bool alt_ = false;
std::string default_format_;

View File

@ -31,7 +31,7 @@ class Image : public AModule {
std::string path_;
std::string tooltip_;
int size_;
int interval_;
std::chrono::milliseconds interval_;
util::command::res output_;
util::SleeperThread thread_;