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:
@@ -73,7 +73,7 @@ Singleton {
|
||||
}
|
||||
|
||||
const profileValue = BatteryService.isPluggedIn
|
||||
? SettingsData.acProfileName
|
||||
? SettingsData.acProfileName
|
||||
: SettingsData.batteryProfileName;
|
||||
|
||||
if (profileValue !== "") {
|
||||
|
||||
@@ -984,4 +984,4 @@ Singleton {
|
||||
"bssid": network.bssid
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -429,4 +429,4 @@ Singleton {
|
||||
id: mkdirProcess
|
||||
command: ["mkdir", "-p", root.baseDir, root.filesDir]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
layer-rule {
|
||||
match namespace="dms:blurwallpaper"
|
||||
place-within-backdrop true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user