refactor and cleanup launcher
This commit is contained in:
parent
701cfe1ef2
commit
f95fa068f3
8 changed files with 45 additions and 287 deletions
|
|
@ -1,9 +1,10 @@
|
|||
#![feature(iter_zip)]
|
||||
mod dock_item;
|
||||
mod dock_object;
|
||||
mod utils;
|
||||
mod window;
|
||||
|
||||
use self::dock_object::DockObject;
|
||||
use self::window::Window;
|
||||
use crate::utils::BoxedWindowList;
|
||||
use futures::executor::block_on;
|
||||
use gdk4::Display;
|
||||
|
|
@ -25,9 +26,6 @@ use x11rb::rust_connection::RustConnection;
|
|||
use zbus::Connection;
|
||||
use zvariant_derive::Type;
|
||||
|
||||
use self::dock_object::DockObject;
|
||||
use self::window::Window;
|
||||
|
||||
const DEST: &str = "com.System76.PopShell";
|
||||
const PATH: &str = "/com/System76/PopShell";
|
||||
const NUM_LAUNCHER_ITEMS: u8 = 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue