feat(hooks): added a 3rd argument to the wallpapper changed hook (light/dark)

This commit is contained in:
Lemmy
2026-03-13 10:11:54 -04:00
parent 1b77bf141e
commit 40e06ed1f8
3 changed files with 4 additions and 2 deletions
@@ -68,7 +68,7 @@ ColumnLayout {
Settings.saveImmediate();
}, val => {
if (val)
Quickshell.execDetached(["sh", "-lc", val.replace("$1", "test_wallpaper_path").replace("$2", "test_screen")]);
Quickshell.execDetached(["sh", "-lc", val.replace("$1", "test_wallpaper_path").replace("$2", "test_screen").replace("$3", "dark")]);
})
}