mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-13 20:39:58 -05:00
services: null check for ConfigOptions for hackability/yoinkability
This commit is contained in:
@@ -38,7 +38,7 @@ Singleton {
|
||||
if (hours > 0) formatted += `${formatted ? ", " : ""}${hours}h`
|
||||
if (minutes > 0 || !formatted) formatted += `${formatted ? ", " : ""}${minutes}m`
|
||||
uptime = formatted
|
||||
interval = ConfigOptions.resources.updateInterval;
|
||||
interval = ConfigOptions?.resources?.updateInterval ?? 3000
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user