mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix terminal theming
i've got no fucking clue why this works
This commit is contained in:
@@ -41,19 +41,12 @@ Singleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function openFallbackPicker(darkMode = Appearance.m3colors.darkmode) {
|
function openFallbackPicker(darkMode = Appearance.m3colors.darkmode) {
|
||||||
applyProc.exec([
|
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", darkMode ? "dark" : "light"]);
|
||||||
Directories.wallpaperSwitchScriptPath,
|
|
||||||
"--mode", (darkMode ? "dark" : "light")
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function apply(path, darkMode = Appearance.m3colors.darkmode) {
|
function apply(path, darkMode = Appearance.m3colors.darkmode) {
|
||||||
if (!path || path.length === 0) return
|
if (!path || path.length === 0) return;
|
||||||
applyProc.exec([
|
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, "--mode", darkMode ? "dark" : "light", "--image", path]);
|
||||||
Directories.wallpaperSwitchScriptPath,
|
|
||||||
"--image", path,
|
|
||||||
"--mode", (darkMode ? "dark" : "light")
|
|
||||||
])
|
|
||||||
root.changed()
|
root.changed()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user