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.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 {
 | 
			
		||||
            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()))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue