[][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_config_dir

Returns the path of the config directory. If the directory doesn't exist, it is created.

get_dir

Returns the contents of a given dir

match_dir

Basic error handling to ensure an empty args field does not crash the app

set_times

The main function that reads the config and runs the daemon