feat: scrolling

This commit is contained in:
Ashley Wulber 2022-06-20 14:42:12 -04:00
parent 6657cd514b
commit 3b4f15b935
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 73 additions and 15 deletions

View file

@ -7,6 +7,12 @@ use std::future::Future;
pub type Activate = String;
#[derive(Debug, Clone)]
pub enum WorkspaceEvent {
Activate(String),
Scroll(f64),
}
pub fn data_path() -> PathBuf {
let mut path = glib::user_data_dir();
path.push(crate::ID);