refractor: clamp, distro; add distro icon next to uptime

This commit is contained in:
end-4
2024-02-20 12:13:16 +07:00
parent 9fbb1e8159
commit 522dd99d84
11 changed files with 294 additions and 195 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import Service from 'resource:///com/github/Aylur/ags/service.js';
import * as Utils from 'resource:///com/github/Aylur/ags/utils.js';
const { exec, execAsync } = Utils;
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
import { clamp } from '../modules/.miscutils/mathfuncs.js';
class BrightnessService extends Service {
static {