From 8119b29aca64149adc8e29ed7e3adacee03b0f65 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Thu, 1 Jun 2023 13:50:47 -0400 Subject: [PATCH] chore: add applet key and do some cleanup the applet key marks an application as possible to be used as an applet --- cosmic-app-list/data/com.system76.CosmicAppList.desktop | 9 +++++---- .../data/com.system76.CosmicAppList.metainfo.xml | 2 +- .../data/com.system76.CosmicAppletAudio.desktop | 7 ++++--- .../data/com.system76.CosmicAppletBattery.desktop | 7 ++++--- .../data/com.system76.CosmicAppletBluetooth.desktop | 1 + .../data/com.system76.CosmicAppletGraphics.desktop | 7 ++++--- .../data/com.system76.CosmicAppletNetwork.desktop | 7 ++++--- .../data/com.system76.CosmicAppletNotifications.desktop | 5 +++-- .../data/com.system76.CosmicAppletPower.desktop | 7 ++++--- .../data/com.system76.CosmicAppletTime.desktop | 5 +++-- .../data/com.system76.CosmicAppletWorkspaces.desktop | 7 ++++--- .../data/com.system76.CosmicPanelAppButton.desktop | 7 ++++--- .../com.system76.CosmicPanelWorkspacesButton.desktop | 7 ++++--- 13 files changed, 45 insertions(+), 33 deletions(-) diff --git a/cosmic-app-list/data/com.system76.CosmicAppList.desktop b/cosmic-app-list/data/com.system76.CosmicAppList.desktop index 69e3202c..c2c433ad 100644 --- a/cosmic-app-list/data/com.system76.CosmicAppList.desktop +++ b/cosmic-app-list/data/com.system76.CosmicAppList.desktop @@ -1,13 +1,14 @@ [Desktop Entry] Name=Cosmic Dock App List -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-app-list Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppList StartupNotify=true NoDisplay=true -X-HostWaylandDisplay=true \ No newline at end of file +X-CosmicApplet=true +X-HostWaylandDisplay=true diff --git a/cosmic-app-list/data/com.system76.CosmicAppList.metainfo.xml b/cosmic-app-list/data/com.system76.CosmicAppList.metainfo.xml index bdd8a5cb..0a379617 100644 --- a/cosmic-app-list/data/com.system76.CosmicAppList.metainfo.xml +++ b/cosmic-app-list/data/com.system76.CosmicAppList.metainfo.xml @@ -5,7 +5,7 @@ CC0 MPL Cosmic Dock App List - Write a GTK + Rust application + Applet for Cosmic Panel

A boilerplate template for GTK + Rust. It uses Meson as a build system and has flatpak support by default.

diff --git a/cosmic-applet-audio/data/com.system76.CosmicAppletAudio.desktop b/cosmic-applet-audio/data/com.system76.CosmicAppletAudio.desktop index 73b47034..e4eed964 100644 --- a/cosmic-applet-audio/data/com.system76.CosmicAppletAudio.desktop +++ b/cosmic-applet-audio/data/com.system76.CosmicAppletAudio.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Audio -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-audio Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletAudio StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-battery/data/com.system76.CosmicAppletBattery.desktop b/cosmic-applet-battery/data/com.system76.CosmicAppletBattery.desktop index 267812e1..61671614 100644 --- a/cosmic-applet-battery/data/com.system76.CosmicAppletBattery.desktop +++ b/cosmic-applet-battery/data/com.system76.CosmicAppletBattery.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Battery -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-battery Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletBattery StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-bluetooth/data/com.system76.CosmicAppletBluetooth.desktop b/cosmic-applet-bluetooth/data/com.system76.CosmicAppletBluetooth.desktop index 05c81eab..5e447a4e 100644 --- a/cosmic-applet-bluetooth/data/com.system76.CosmicAppletBluetooth.desktop +++ b/cosmic-applet-bluetooth/data/com.system76.CosmicAppletBluetooth.desktop @@ -10,3 +10,4 @@ Keywords=COSMIC;Iced; Icon=com.system76.CosmicAppletBluetooth StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-graphics/data/com.system76.CosmicAppletGraphics.desktop b/cosmic-applet-graphics/data/com.system76.CosmicAppletGraphics.desktop index 57fe86c1..6f22840e 100644 --- a/cosmic-applet-graphics/data/com.system76.CosmicAppletGraphics.desktop +++ b/cosmic-applet-graphics/data/com.system76.CosmicAppletGraphics.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Graphics -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-graphics Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletGraphics StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-network/data/com.system76.CosmicAppletNetwork.desktop b/cosmic-applet-network/data/com.system76.CosmicAppletNetwork.desktop index 12a3fa3b..b5dd3539 100644 --- a/cosmic-applet-network/data/com.system76.CosmicAppletNetwork.desktop +++ b/cosmic-applet-network/data/com.system76.CosmicAppletNetwork.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Network -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-network Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletNetwork StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-notifications/data/com.system76.CosmicAppletNotifications.desktop b/cosmic-applet-notifications/data/com.system76.CosmicAppletNotifications.desktop index c0b0c48e..5745e3cb 100644 --- a/cosmic-applet-notifications/data/com.system76.CosmicAppletNotifications.desktop +++ b/cosmic-applet-notifications/data/com.system76.CosmicAppletNotifications.desktop @@ -3,8 +3,9 @@ Name=Cosmic Applet Notifications Type=Application Exec=cosmic-applet-notifications Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletNotifications NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-power/data/com.system76.CosmicAppletPower.desktop b/cosmic-applet-power/data/com.system76.CosmicAppletPower.desktop index 2d463650..695ee0e5 100644 --- a/cosmic-applet-power/data/com.system76.CosmicAppletPower.desktop +++ b/cosmic-applet-power/data/com.system76.CosmicAppletPower.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Power -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-power Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletPower StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-time/data/com.system76.CosmicAppletTime.desktop b/cosmic-applet-time/data/com.system76.CosmicAppletTime.desktop index ad40faad..a0f1a4ce 100644 --- a/cosmic-applet-time/data/com.system76.CosmicAppletTime.desktop +++ b/cosmic-applet-time/data/com.system76.CosmicAppletTime.desktop @@ -3,8 +3,9 @@ Name=Cosmic Applet Time Type=Application Exec=cosmic-applet-time Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicAppletTime NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-applet-workspaces/data/com.system76.CosmicAppletWorkspaces.desktop b/cosmic-applet-workspaces/data/com.system76.CosmicAppletWorkspaces.desktop index 3c405856..138a372c 100644 --- a/cosmic-applet-workspaces/data/com.system76.CosmicAppletWorkspaces.desktop +++ b/cosmic-applet-workspaces/data/com.system76.CosmicAppletWorkspaces.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Applet Workspaces -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-applet-workspaces Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; Icon=com.system76.CosmicAppletWorkspaces StartupNotify=true NoDisplay=true +X-CosmicApplet=true X-HostWaylandDisplay=true diff --git a/cosmic-panel-app-button/data/com.system76.CosmicPanelAppButton.desktop b/cosmic-panel-app-button/data/com.system76.CosmicPanelAppButton.desktop index edecafb9..4c0d3083 100644 --- a/cosmic-panel-app-button/data/com.system76.CosmicPanelAppButton.desktop +++ b/cosmic-panel-app-button/data/com.system76.CosmicPanelAppButton.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Panel App Library Button -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-panel-button com.system76.CosmicAppLibrary Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicPanelAppButton StartupNotify=true NoDisplay=true +X-CosmicApplet=true diff --git a/cosmic-panel-workspaces-button/data/com.system76.CosmicPanelWorkspacesButton.desktop b/cosmic-panel-workspaces-button/data/com.system76.CosmicPanelWorkspacesButton.desktop index 3ab49ae1..8306fb77 100644 --- a/cosmic-panel-workspaces-button/data/com.system76.CosmicPanelWorkspacesButton.desktop +++ b/cosmic-panel-workspaces-button/data/com.system76.CosmicPanelWorkspacesButton.desktop @@ -1,12 +1,13 @@ [Desktop Entry] Name=Cosmic Panel Workspaces Button -Comment=Write a GTK + Rust application +Comment=Applet for Cosmic Panel Type=Application Exec=cosmic-panel-button com.system76.CosmicWorkspaces Terminal=false -Categories=GNOME;GTK; -Keywords=Gnome;GTK; +Categories=Cosmic;Iced; +Keywords=Cosmic;Iced; # Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=com.system76.CosmicPanelWorkspacesButton StartupNotify=true NoDisplay=true +X-CosmicApplet=true