mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(hooks): added a 3rd argument to the wallpapper changed hook (light/dark)
This commit is contained in:
@@ -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")]);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user