mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-18 22:26:12 +01:00
Remove pinnacle file
This commit is contained in:
parent
0c457a4ec6
commit
3e36c7bea4
3 changed files with 9 additions and 11 deletions
|
@ -47,7 +47,7 @@ fn main() {
|
||||||
input::keybind(
|
input::keybind(
|
||||||
&[mod_key, Modifier::Alt],
|
&[mod_key, Modifier::Alt],
|
||||||
'q',
|
'q',
|
||||||
|_| pinnacle::quit(),
|
|_| pinnacle_api::quit(),
|
||||||
&mut callback_vec,
|
&mut callback_vec,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
//! The Rust implementation of API for Pinnacle, a Wayland compositor.
|
//! The Rust implementation of the configuration API for Pinnacle,
|
||||||
|
//! a [Smithay](https://github.com/Smithay/smithay)-based Wayland compositor
|
||||||
|
//! inspired by [AwesomeWM](https://github.com/awesomeWM/awesome).
|
||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
pub mod input;
|
pub mod input;
|
||||||
mod msg;
|
mod msg;
|
||||||
pub mod output;
|
pub mod output;
|
||||||
pub mod pinnacle;
|
|
||||||
pub mod process;
|
pub mod process;
|
||||||
pub mod tag;
|
pub mod tag;
|
||||||
pub mod window;
|
pub mod window;
|
||||||
|
@ -197,6 +198,11 @@ pub fn listen(mut callback_vec: CallbackVec) -> Infallible {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Quit Pinnacle.
|
||||||
|
pub fn quit() {
|
||||||
|
send_msg(Msg::Quit).unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
/// A wrapper around a vector that holds all of your callbacks.
|
/// A wrapper around a vector that holds all of your callbacks.
|
||||||
///
|
///
|
||||||
/// You will need to create this before you can start calling config functions
|
/// You will need to create this before you can start calling config functions
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
//! Functions for compositor control, like `setup` and `quit`.
|
|
||||||
|
|
||||||
use crate::{msg::Msg, send_msg};
|
|
||||||
|
|
||||||
/// Quit Pinnacle.
|
|
||||||
pub fn quit() {
|
|
||||||
send_msg(Msg::Quit).unwrap();
|
|
||||||
}
|
|
Loading…
Reference in a new issue