From e4bcc52cbe97ca7de833473798504f2c73f03dfd Mon Sep 17 00:00:00 2001 From: emilis Date: Fri, 1 Mar 2024 23:08:28 +0000 Subject: [PATCH] panel to service --- src/config.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/config.rs b/src/config.rs index df63c57..ccab6ef 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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()))