fixes and macos stuff
This commit is contained in:
parent
9695ceec8a
commit
801a8d1754
10 changed files with 108 additions and 115 deletions
|
@ -34,6 +34,11 @@ fn SystemData::fetchSystemData(const Config& config) -> SystemData {
|
|||
.mem_info = os::GetMemInfo(),
|
||||
.desktop_environment = os::GetDesktopEnvironment(),
|
||||
.window_manager = os::GetWindowManager(),
|
||||
.now_playing = {},
|
||||
.weather_info = {},
|
||||
.disk_used = {},
|
||||
.disk_total = {},
|
||||
.shell = {},
|
||||
};
|
||||
|
||||
auto diskShell = std::async(std::launch::async, [] {
|
||||
|
@ -61,4 +66,4 @@ fn SystemData::fetchSystemData(const Config& config) -> SystemData {
|
|||
data.now_playing = nowPlaying.get();
|
||||
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue