Open newtoallofthis123 opened 4 months ago
This is a proposal to add path based validations to the environ.rs files in both swhks and swhkd as suggested by @zubairmh in https://github.com/waycrate/swhkd/pull/243#discussion_r1504021953.
environ.rs
swhks
swhkd
This can achieved by adding a new Error enum and also handling it: If the directory path doesn't exist, the defaults can be used. There is a case for creating the directories on the fly, so am not sure yet 😄
This is a proposal to add path based validations to the
environ.rs
files in bothswhks
andswhkd
as suggested by @zubairmh in https://github.com/waycrate/swhkd/pull/243#discussion_r1504021953.This can achieved by adding a new Error enum and also handling it: If the directory path doesn't exist, the defaults can be used. There is a case for creating the directories on the fly, so am not sure yet 😄