Skip to content

Commit

Permalink
battery: Add gpu indicator and process list
Browse files Browse the repository at this point in the history
  • Loading branch information
Drakulix committed Jan 24, 2024
1 parent 6875bb3 commit 2b36e8e
Show file tree
Hide file tree
Showing 7 changed files with 771 additions and 129 deletions.
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cosmic-applet-battery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ tracing-log.workspace = true
i18n-embed = { version = "0.13.4", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.6.4"
rust-embed = "6.3.0"
tokio = { version = "1.17.0", features = ["sync", "rt", "rt-multi-thread", "fs"] }
tokio = { version = "1.17.0", features = ["sync", "rt", "rt-multi-thread", "fs", "macros"] }
udev = "0.8"
2 changes: 2 additions & 0 deletions cosmic-applet-battery/i18n/de/cosmic_applet_battery.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ minutes = m
hours = h
until-empty = bis leer
power-settings = Energie- und Batterieeinstellungen...
dgpu-running = Dedizierte GPU ist aktiv und kann die Batterielaufzeit reduzieren
dgpu-applications = Anwendungen, die die dedizierte GPU {$gpu_name} nutzen
2 changes: 2 additions & 0 deletions cosmic-applet-battery/i18n/en/cosmic_applet_battery.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ minutes = m
hours = h
until-empty = until empty
power-settings = Power and Battery Settings...
dgpu-running = Discrete GPU is active and can reduce battery life
dgpu-applications = Applications using {$gpu_name} discrete GPU
Loading

0 comments on commit 2b36e8e

Please sign in to comment.