init: working version

This commit is contained in:
Kiana Sheibani 2025-10-07 19:43:46 -04:00
commit 7d8d7dacae
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
109 changed files with 15066 additions and 0 deletions

15
util/Color.qml Normal file
View file

@ -0,0 +1,15 @@
pragma Singleton
import Quickshell
import QtQuick
Singleton {
function mute(color: color, s: real, v: real): color {
if (!s) s = 1.2;
if (!v) v = 1.2;
const hue = color.hsvHue;
const saturation = color.hsvSaturation;
const value = color.hsvValue;
return Qt.hsva(hue, saturation * s, value / v, 1);
}
}