forked from Shinonome/dots-hyprland
remove debug print
This commit is contained in:
@@ -34,8 +34,6 @@ export async function startAutoDarkModeService() {
|
|||||||
if (fromTime == toTime) return;
|
if (fromTime == toTime) return;
|
||||||
const currentDateTime = GLib.DateTime.new_now_local();
|
const currentDateTime = GLib.DateTime.new_now_local();
|
||||||
const currentTime = [currentDateTime.get_hour(), currentDateTime.get_minute()];
|
const currentTime = [currentDateTime.get_hour(), currentDateTime.get_minute()];
|
||||||
// console.log(currentTime, fromTime, toTime);
|
|
||||||
darkMode.value = timeInRange(currentTime, fromTime, toTime);
|
darkMode.value = timeInRange(currentTime, fromTime, toTime);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user