feat: dashboard show on hover, media and weather tabs added
This commit is contained in:
@@ -5,6 +5,15 @@ import Quickshell
|
||||
Singleton {
|
||||
property var _regexCache: ({})
|
||||
|
||||
function percent(value: int): string {
|
||||
// TRANSLATORS: %1 = a number
|
||||
return qsTr("%1%").arg(value);
|
||||
}
|
||||
|
||||
function percentOne(value: real): string {
|
||||
return percent(Math.round(value * 100));
|
||||
}
|
||||
|
||||
function testRegexList(filterList: list<string>, target: string): bool {
|
||||
const regexChecker = /^\^.*\$$/;
|
||||
for (const filter of filterList) {
|
||||
|
||||
Reference in New Issue
Block a user