Merge branch 'main' into feat/peripheral-integration
C++ / fmt (pull_request) Successful in 4s
JS/TS / fmt (pull_request) Successful in 20s
JS/TS / lint (pull_request) Successful in 18s
Python / lint (pull_request) Failing after 30s
Python / fmt (pull_request) Successful in 35s
Python / test (pull_request) Failing after 1m1s
Python / typecheck (pull_request) Failing after 1m24s
Rust / fmt (pull_request) Successful in 33s
Rust / build (pull_request) Successful in 1m51s
C++ / build (pull_request) Successful in 2m42s
Rust / clippy (pull_request) Successful in 1m1s
Python / buildcheck (pull_request) Successful in 2m34s
C++ / clang-tidy (pull_request) Successful in 4m2s

This commit is contained in:
2026-08-15 20:54:59 +02:00
372 changed files with 7047 additions and 8335 deletions
+8 -8
View File
@@ -3,9 +3,9 @@ pragma Singleton
import Quickshell
import Quickshell.Io
import Quickshell.Services.UPower
import qs.Config
import ZShell.Config
import qs.Services
import qs.Paths
import qs.Helpers
Singleton {
id: root
@@ -26,18 +26,18 @@ Singleton {
function getColors(percentage: real, state: string): var {
if (state === "charging" || state === "full" || state === "recharging")
return {
fg: DynamicColors.swapRG(DynamicColors.palette.m3error),
bg: DynamicColors.swapRG(DynamicColors.palette.m3onError)
fg: Colors.swapRG(Colors.palette.m3error),
bg: Colors.swapRG(Colors.palette.m3onError)
};
else if (percentage <= 0.2)
return {
fg: DynamicColors.palette.m3error,
bg: DynamicColors.palette.m3onError
fg: Colors.palette.m3error,
bg: Colors.palette.m3onError
};
else
return {
fg: DynamicColors.palette.m3tertiary,
bg: DynamicColors.palette.m3onTertiary
fg: Colors.palette.m3tertiary,
bg: Colors.palette.m3onTertiary
};
}