mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-21 20:20:55 +03:00
enter hook command (#130)
new configuration option `enter_hook` can now be used to spawn a command when a client is entered
This commit is contained in:
committed by
GitHub
parent
e9738fc024
commit
799b45104a
@@ -102,6 +102,8 @@ pub struct ClientConfig {
|
||||
pub port: u16,
|
||||
/// position of a client on screen
|
||||
pub pos: Position,
|
||||
/// enter hook
|
||||
pub cmd: Option<String>,
|
||||
}
|
||||
|
||||
impl Default for ClientConfig {
|
||||
@@ -111,6 +113,7 @@ impl Default for ClientConfig {
|
||||
hostname: Default::default(),
|
||||
fix_ips: Default::default(),
|
||||
pos: Default::default(),
|
||||
cmd: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user