swayipc_command_builder/commands/
urgent.rs

1use super::*;
2
3impl Command<Urgent> {
4    pub fn enable(self) -> Command<Valid> {
5        self.push_str("enable").transmute()
6    }
7
8    pub fn disable(self) -> Command<Valid> {
9        self.push_str("disable").transmute()
10    }
11
12    pub fn allow(self) -> Command<Valid> {
13        self.push_str("allow").transmute()
14    }
15
16    pub fn deny(self) -> Command<Valid> {
17        self.push_str("deny").transmute()
18    }
19}