a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: hide idle threshold and long-break details when toggled off

+3 -9
+1 -1
ui/views/profile_tab.slint
··· 84 84 } 85 85 } 86 86 87 - HorizontalLayout { 87 + if root.idle-detection-enabled: HorizontalLayout { 88 88 padding-bottom: 12px; 89 89 spacing: 10px; 90 90 alignment: start;
+2 -8
ui/views/rhythm_tab.slint
··· 161 161 } 162 162 } 163 163 164 - Rectangle { height: 12px; } 164 + if root.long-break-enabled: Rectangle { height: 12px; } 165 165 166 - VerticalLayout { 166 + if root.long-break-enabled: VerticalLayout { 167 167 spacing: 0px; 168 - opacity: root.long-break-enabled ? 1.0 : 0.38; 169 - animate opacity { duration: 200ms; } 170 168 171 169 HorizontalLayout { 172 170 spacing: 8px; ··· 181 179 182 180 NumberField { 183 181 width: 80px; 184 - enabled: root.long-break-enabled; 185 182 value <=> root.long-break-after-cycles; 186 183 minimum: 2; 187 184 maximum: 20; ··· 197 194 198 195 NumberField { 199 196 width: 80px; 200 - enabled: root.long-break-enabled; 201 197 value <=> root.long-break-duration-mins; 202 198 minimum: 1; 203 199 maximum: 120; ··· 220 216 221 217 PaperInput { 222 218 width: 110px; 223 - enabled: root.long-break-enabled; 224 219 text <=> root.long-break-label; 225 220 placeholder-text: "Long rest"; 226 221 field-label: "long rest label"; ··· 242 237 243 238 NumberField { 244 239 width: 80px; 245 - enabled: root.long-break-enabled; 246 240 value <=> root.long-break-gap-mins; 247 241 minimum: 1; 248 242 maximum: 120;