[−][src]Crate flowy
Structs
Config | Stores the times and filepaths as a vector of strings |
Functions
generate_config | Generates the config file. Takes the wallpaper folder path as args. |
get_config | Creates a new instance of struct Config and returns it |
get_dir | Returns the contents of a given dir |
get_envt | args - None return <Result, Error> Purpose - get the current envt |
get_wallpaper | args - NONE
return Result<String, Box |
set_paper | args - filepath return - Result<(), str> purpose - set's the wallpaper to filepath |
set_times | The main function that reads the config and runs the daemon |