process_list::View done

This commit is contained in:
Aleksander
2025-12-21 16:00:54 +01:00
parent 5462e84995
commit 848674c143
29 changed files with 519 additions and 50 deletions

View File

@@ -1,5 +1,16 @@
use gio::prelude::{AppInfoExt, IconExt};
use gtk::traits::IconThemeExt;
use serde::{Deserialize, Serialize};
// compatibility with wayvr-ipc
#[derive(Debug, Deserialize, Serialize)]
pub struct DesktopFile {
pub name: String,
pub icon: Option<String>,
pub exec_path: String,
pub exec_args: Vec<String>,
pub categories: Vec<String>,
}
#[derive(Debug, Clone)]
#[allow(dead_code)] // TODO: remove this