basic plugin!

This commit is contained in:
Ashley Wulber 2022-01-11 00:05:57 -05:00
parent 7a8e3fe492
commit 537539f43d
13 changed files with 332 additions and 224 deletions

View file

@ -16,7 +16,7 @@ pub struct BoxedDockObject(pub Option<DockObject>);
pub fn data_path() -> PathBuf {
let mut path = glib::user_data_dir();
path.push("com.cosmic.dock");
path.push(crate::ID);
std::fs::create_dir_all(&path).expect("Could not create directory.");
path.push("data.json");
path