Compare commits

..
2 Commits
Author SHA1 Message Date
Guillem CANAL b8865e1311 dankbar: make widget outline radius concentric with the background (#3720) 2026-10-08 11:03:35 -04:00
bbedward 686eb1bfd6 cups: fix 24.20 compatibility
fixes #3721

(cherry picked from commit 2bf7f7c556)
2026-10-08 09:35:00 -04:00
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -277,7 +277,8 @@ const (
// ipp defaults
const (
CharsetLanguage = "en-US"
// cups 2.4.20+ validates this case-sensitively (lowercase only), and libcups itself sends lowercase
CharsetLanguage = "en-us"
Charset = "utf-8"
ProtocolVersionMajor = int8(2)
ProtocolVersionMinor = int8(0)
@@ -898,7 +898,7 @@ Item {
const borderWidth = (barConfig?.widgetOutlineEnabled ?? false) ? (barConfig?.widgetOutlineThickness ?? 1) : 0;
return parent.height + borderWidth * 2;
}
radius: (barConfig?.noBackground ?? false) ? 0 : Theme.cornerRadius
radius: (barConfig?.noBackground ?? false) ? 0 : Theme.cornerRadius + border.width
color: "transparent"
border.width: {
if (barConfig?.widgetOutlineEnabled ?? false) {
+1 -1
View File
@@ -70,7 +70,7 @@ Item {
const borderWidth = (barConfig?.widgetOutlineEnabled ?? false) ? (barConfig?.widgetOutlineThickness ?? 1) : 0;
return parent.height + borderWidth * 2;
}
radius: (barConfig?.noBackground ?? false) ? 0 : Theme.cornerRadius
radius: (barConfig?.noBackground ?? false) ? 0 : Theme.cornerRadius + border.width
color: "transparent"
border.width: {
if (barConfig?.widgetOutlineEnabled ?? false) {