hyprshell_core_lib/binds/structs.rs
1#[derive(Debug)]
2pub struct ExecBind {
3 pub mods: Vec<&'static str>,
4 pub key: Box<str>,
5 pub exec: String,
6 pub behavior: ExecBindBehavior,
7 pub desc: String,
8}
9
10#[derive(Debug, Clone, Copy, PartialEq, Eq)]
11pub enum ExecBindBehavior {
12 Repeating,
13 Release,
14 TransparentReleaseIgnoringMods {
15 /// Only run if neither of these keysyms is still held.
16 unless_keys_down: Option<(&'static str, &'static str)>,
17 },
18}