mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-26 16:09:49 +01:00
parent
8bcccf9f0f
commit
47b087950d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ std::vector<SInstanceData> instances() {
|
|||
|
||||
// read lock
|
||||
SInstanceData* data = &result.emplace_back();
|
||||
data->id = el.path().string();
|
||||
data->id = el.path().filename().string();
|
||||
|
||||
try {
|
||||
data->time = std::stoull(data->id.substr(data->id.find_first_of('_') + 1, data->id.find_last_of('_') - (data->id.find_first_of('_') + 1)));
|
||||
|
|
Loading…
Reference in a new issue