panel to service

This commit is contained in:
emilis 2024-03-01 23:08:28 +00:00
parent bda9b4d969
commit e4bcc52cbe
1 changed files with 11 additions and 11 deletions

View File

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