wallchpaper
Version:
Change wallpaper after an adjustable time
19 lines (14 loc) • 305 B
text/typescript
import { ConfigFile, ConfigApp } from './config.types'
import { importConfig } from './loader'
export class Config {
private config: ConfigFile
constructor() {
this.config = {}
}
setup() {
this.config = importConfig()
}
getConfig(): ConfigApp {
return this.config.config
}
}