leftwm_core/
lib.rs

1//! Various leftwm features.
2// We deny clippy pedantic lints, primarily to keep code as correct as possible
3// Remember, the goal of LeftWM is to do one thing and to do that one thing
4// well: Be a window manager.
5#![warn(clippy::pedantic)]
6// Each of these lints are globally allowed because they otherwise make a lot
7// of noise. However, work to ensure that each use of one of these is correct
8// would be very much appreciated.
9#![allow(
10    clippy::cast_precision_loss,
11    clippy::cast_possible_truncation,
12    clippy::cast_possible_wrap,
13    clippy::cast_sign_loss,
14    clippy::must_use_candidate,
15    clippy::default_trait_access
16)]
17mod command;
18pub mod config;
19mod display_action;
20mod display_event;
21pub mod display_servers;
22pub mod errors;
23mod event_loop;
24mod handlers;
25pub mod layouts;
26pub mod models;
27pub mod state;
28pub mod utils;
29
30use utils::modmask_lookup::Button;
31use utils::modmask_lookup::ModMask;
32
33pub use command::{Command, ReleaseScratchPadOption};
34pub use config::Config;
35pub use display_action::DisplayAction;
36pub use display_event::DisplayEvent;
37pub use display_servers::DisplayServer;
38pub use models::Manager;
39pub use models::Mode;
40pub use models::Window;
41pub use models::Workspace;
42pub use state::State;
43pub use utils::child_process;
44pub use utils::command_pipe::{pipe_name, CommandPipe};
45pub use utils::return_pipe::ReturnPipe;
46pub use utils::state_socket::StateSocket;