forked from Shinonome/dots-hyprland
clearer session screen download warning, update check config option
This commit is contained in:
@@ -29,7 +29,7 @@ Singleton {
|
||||
Timer {
|
||||
interval: Config.options.updates.checkInterval * 60 * 1000
|
||||
repeat: true
|
||||
running: Config.ready
|
||||
running: Config.ready && Config.options.updates.enableCheck
|
||||
onTriggered: {
|
||||
print("[Updates] Periodic update check due")
|
||||
root.refresh();
|
||||
@@ -38,7 +38,7 @@ Singleton {
|
||||
|
||||
Process {
|
||||
id: checkAvailabilityProc
|
||||
running: true
|
||||
running: Config.ready && Config.options.updates.enableCheck
|
||||
command: ["which", "checkupdates"]
|
||||
onExited: (exitCode, exitStatus) => {
|
||||
root.available = (exitCode === 0);
|
||||
|
||||
Reference in New Issue
Block a user