panel to service
This commit is contained in:
parent
bda9b4d969
commit
e4bcc52cbe
|
@ -334,13 +334,7 @@ impl Config {
|
||||||
.chain(self.settings_command_set())
|
.chain(self.settings_command_set())
|
||||||
.chain(self.rule_command_set())
|
.chain(self.rule_command_set())
|
||||||
.chain(self.service_command_set())
|
.chain(self.service_command_set())
|
||||||
.chain([
|
.chain([HlwmCommand::Unlock])
|
||||||
HlwmCommand::Unlock,
|
|
||||||
HlwmCommand::Spawn {
|
|
||||||
executable: "hlctl".into(),
|
|
||||||
args: vec!["panel".into()],
|
|
||||||
},
|
|
||||||
])
|
|
||||||
.collect())
|
.collect())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -911,10 +905,16 @@ impl Default for Config {
|
||||||
HlwmCommand::JumpTo(Window::Urgent),
|
HlwmCommand::JumpTo(Window::Urgent),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
services: vec![Service {
|
services: vec![
|
||||||
|
Service {
|
||||||
name: String::from("fcitx5"),
|
name: String::from("fcitx5"),
|
||||||
arguments: vec![],
|
arguments: vec![],
|
||||||
}],
|
},
|
||||||
|
Service {
|
||||||
|
name: String::from("hlctl"),
|
||||||
|
arguments: vec![String::from("panel")],
|
||||||
|
},
|
||||||
|
],
|
||||||
tags: (1..=5)
|
tags: (1..=5)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|idx| Tag::FrontRow(idx.try_into().unwrap()))
|
.map(|idx| Tag::FrontRow(idx.try_into().unwrap()))
|
||||||
|
|
Loading…
Reference in New Issue