about summary refs log tree commit diff
path: root/users/tazjin/gio-list-apps/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/gio-list-apps/src/main.rs')
-rw-r--r--users/tazjin/gio-list-apps/src/main.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/users/tazjin/gio-list-apps/src/main.rs b/users/tazjin/gio-list-apps/src/main.rs
deleted file mode 100644
index c6b6b98d4d9c..000000000000
--- a/users/tazjin/gio-list-apps/src/main.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-use gio::traits::AppInfoExt;
-use gio::AppInfo;
-use serde_json::json;
-
-fn main() {
-    for app in AppInfo::all() {
-        if app.should_show() {
-            if let Some(cmd) = app.commandline() {
-                println!(
-                    "{}",
-                    json!({
-                        "name": app.name().as_str(),
-                        "display_name": app.display_name().as_str(),
-                        "commandline": cmd,
-                    })
-                );
-            }
-        }
-    }
-}