You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 38c652b
Browse filesBrowse the repository at this point in the historyBrowse files
Refactor linux-pop-extension into Cosmic Containers applet for managing Docker containers. Update AGENTS.md and README.md for improved clarity on functionality and usage. Enhance Cargo.toml with new dependencies and features, and modify CHANGELOG.md to reflect added features and changes. Revise desktop entry and metainfo for branding consistency.
Copy file name to clipboardExpand all lines: AGENTS.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
11
11
## Overview
12
12
13
-
Rust crate (`linux-pop-extension`): **COSMIC panel applet** for Pop!_OS via `libcosmic` (`cosmic::applet::run`). Binary requires feature `applet` and system Wayland/GTK-related dev packages. See `README.md` for install and “Add widget” steps.
13
+
Rust crate (`linux-pop-extension`): **Cosmic Containers** — COSMIC panel applet for Pop!_OS that lists and starts/stops Docker containers via CLI (`libcosmic`, `cosmic::applet::run`). Binary requires feature `applet`, Docker in PATH, and system Wayland/GTK-related dev packages. See `README.md` for install and “Add widget” steps.
14
14
15
15
**Chat language**: Reply to the user in **Ukrainian** unless they ask for another language. Keep code, identifiers, commits, and this file in **English**.
16
16
@@ -63,16 +63,17 @@ Prefer `cargo check` for fast feedback during edits; run `cargo build` or `cargo
Panel UI lives in `src/app.rs`; shared constants in `src/lib.rs`. Register applets with `X-CosmicApplet=true` in `resources/*.desktop`.
76
+
Panel UI lives in `src/app.rs`; parsing and types in `src/lib.rs`; Docker in `src/services/docker.rs`. Register applets with `X-CosmicApplet=true` in `resources/*.desktop`.
Copy file name to clipboardExpand all lines: README.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
-
# linux-pop-extension
1
+
# Cosmic Containers (linux-pop-extension)
2
2
3
-
COSMIC panel applet for **Pop!_OS** (COSMIC desktop). Starter widget that shows a smiley on the panel and can be added from system settings.
3
+
COSMIC panel applet for **Pop!_OS**: manage Docker containers from the panel — running count at a glance, list in a popup, **Play** / **Stop** without keeping a terminal open on `docker ps`.
4
4
5
5
## Requirements
6
6
7
7
-**Pop!_OS 24.04+** (or another distro with COSMIC panel)
8
+
-**Docker** CLI (`docker` in `PATH`, daemon running, user in `docker` group or rootless Docker)
8
9
- Rust 1.85 or newer (edition 2024)
9
10
- System libraries for building `libcosmic`:
10
11
@@ -35,8 +36,17 @@ This installs to `~/.local` (binary, `.desktop`, AppStream metainfo, icon).
35
36
36
37
1. Restart the panel or log out and back in (if the widget list does not update).
<summary>Docker container manager for the COSMIC panel</summary>
8
8
<description>
9
-
<p>A starter panel applet for Pop!_OS COSMIC that shows a smiley on the panel.</p>
9
+
<p>Panel applet for Pop!_OS COSMIC: shows how many Docker containers are running, lists all containers in a popup, and lets you start or stop them without a terminal.</p>
10
+
<p>Requires the Docker CLI and a running Docker daemon.</p>
0 commit comments