swayipc_command_builder/commands/focus_on_window_activation.rs
1use super::*;
2
3impl Command<FocusOnWindowActivation> {
4 pub fn smart(self) -> Command<Valid> {
5 self.push_str("smart").transmute()
6 }
7
8 pub fn urgent(self) -> Command<Valid> {
9 self.push_str("urgent").transmute()
10 }
11
12 pub fn focus(self) -> Command<Valid> {
13 self.push_str("focus").transmute()
14 }
15
16 pub fn none(self) -> Command<Valid> {
17 self.push_str("none").transmute()
18 }
19}