diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-10-21 15:05:50 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-10-21 15:05:50 +0200 |
| commit | ebccb33b4eb60a07e667332665181ba9ad352615 (patch) | |
| tree | 14947c3add7677919250265616f9ab4f5f6b071b /accounts/gkleen@skadhi/shell/quickshell-plugins | |
| parent | f2c90589d4d4d6c1f101c969d1363729171b3115 (diff) | |
| download | nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.gz nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.bz2 nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.xz nixos-ebccb33b4eb60a07e667332665181ba9ad352615.zip | |
...
Diffstat (limited to 'accounts/gkleen@skadhi/shell/quickshell-plugins')
| -rw-r--r-- | accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp | 2 | ||||
| -rw-r--r-- | accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp b/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp index 22b3469b..2487cddd 100644 --- a/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp +++ b/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp | |||
| @@ -75,7 +75,7 @@ void Chrono::schedule(const std::chrono::time_point<std::chrono::system_clock>& | |||
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | QString Chrono::format(const QString& fmt) const { | 77 | QString Chrono::format(const QString& fmt) const { |
| 78 | return QString::fromStdString(std::format(std::runtime_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast<std::chrono::seconds>(this->currentTime)))); | 78 | return QString::fromStdString(std::format(std::dynamic_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast<std::chrono::seconds>(this->currentTime)))); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | QDateTime Chrono::date() const { | 81 | QDateTime Chrono::date() const { |
diff --git a/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp b/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp index 1fa236f6..a1fbe0d3 100644 --- a/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp +++ b/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #include "Systemd.hpp" | 1 | #include "Systemd.hpp" |
| 2 | 2 | ||
| 3 | #include <sstream> | 3 | #include <sstream> |
| 4 | #include <unistd.h> | ||
| 4 | 5 | ||
| 5 | #include <QDBusConnection> | 6 | #include <QDBusConnection> |
| 6 | #include <QDBusReply> | 7 | #include <QDBusReply> |
