Diff
1diff --git a/flake.lock b/flake.lock
2index 35bbf41fe12174a2524604954d489d735f00b1c2..6758abccc9de5b992eaeaca9551492f76c2e7471 100644
3--- a/flake.lock
4+++ b/flake.lock
5@@ -9,11 +9,11 @@
6 "xdph": "xdph"
7 },
8 "locked": {
9- "lastModified": 1694613741,
10- "narHash": "sha256-8lsnX497CIKn0M2KatYtDKzRyccxQfEpuQkBO0+tKVY=",
11+ "lastModified": 1695237968,
12+ "narHash": "sha256-n0K0iiXCdbw3l5+YTMb7ESJQXnXYoVUIzeTbHo5D1rE=",
13 "owner": "hyprwm",
14 "repo": "Hyprland",
15- "rev": "84f8f4d77ddf4b6c772459584234e1f8f9d5f2ce",
16+ "rev": "1925e64c21811ce76e5059d7a063f968c2d3e98c",
17 "type": "github"
18 },
19 "original": {
20@@ -49,11 +49,11 @@
21 },
22 "nixpkgs": {
23 "locked": {
24- "lastModified": 1693844670,
25- "narHash": "sha256-t69F2nBB8DNQUWHD809oJZJVE+23XBrth4QZuVd6IE0=",
26+ "lastModified": 1694767346,
27+ "narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
28 "owner": "NixOS",
29 "repo": "nixpkgs",
30- "rev": "3c15feef7770eb5500a4b8792623e2d6f598c9c1",
31+ "rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
32 "type": "github"
33 },
34 "original": {
35@@ -118,11 +118,11 @@
36 ]
37 },
38 "locked": {
39- "lastModified": 1694025408,
40- "narHash": "sha256-oJNhGfZH8Z2w3ztXdzsYVg32//cWEcPVDM3+tp/ZVfU=",
41+ "lastModified": 1694628480,
42+ "narHash": "sha256-Qg9hstRw0pvjGu5hStkr2UX1D73RYcQ9Ns/KnZMIm9w=",
43 "owner": "hyprwm",
44 "repo": "xdg-desktop-portal-hyprland",
45- "rev": "022469529c8bc95acf222dc5a62389b04c8b1205",
46+ "rev": "8f45a6435069b9e24ebd3160eda736d7a391cbf2",
47 "type": "github"
48 },
49 "original": {
50diff --git a/src/log.hpp b/src/log.hpp
51index 60c30a1382be7b19a57458ac3e8336e6ce67d307..d5aeeb662656f13b73f34e1f6af896ba4886f82e 100644
52--- a/src/log.hpp
53+++ b/src/log.hpp
54@@ -3,6 +3,7 @@
55 #include <hyprland/src/debug/Log.hpp>
56
57 template <typename... Args>
58-void hy3_log(LogLevel level, const std::string& fmt, Args&&... args) {
59- Debug::log(level, "[hy3] " + fmt, args...);
60+void hy3_log(LogLevel level, std::format_string<Args...> fmt, Args&&... args) {
61+ auto msg = std::vformat(fmt.get(), std::make_format_args(args...));
62+ Debug::log(level, "[hy3] {}", msg);
63 }