1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

Refactor pre-commit hooks to use prek (#976)

* ci: change to prek for pre-commit

* refactor: fix shellcheck warnings for the scripts

* chore: unify whitespace formatting

* nix: add prek to dev shell
This commit is contained in:
Marcus Ramberg
2025-12-11 15:11:12 +01:00
committed by GitHub
parent c8cfe0cb5a
commit 7c88865d67
147 changed files with 805 additions and 860 deletions

View File

@@ -73,7 +73,7 @@ Singleton {
}
const profileValue = BatteryService.isPluggedIn
? SettingsData.acProfileName
? SettingsData.acProfileName
: SettingsData.batteryProfileName;
if (profileValue !== "") {

View File

@@ -984,4 +984,4 @@ Singleton {
"bssid": network.bssid
}
}
}
}

View File

@@ -429,4 +429,4 @@ Singleton {
id: mkdirProcess
command: ["mkdir", "-p", root.baseDir, root.filesDir]
}
}
}

View File

@@ -47,7 +47,7 @@ Singleton {
if (!node || !node.ready) {
continue
}
if (node.properties && node.properties["media.class"] === "Stream/Input/Video") {
if (node.properties["stream.is-live"] === "true") {
return true

View File

@@ -1,4 +1,4 @@
layer-rule {
match namespace="dms:blurwallpaper"
place-within-backdrop true
}
}