aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input.rs b/src/input.rs
index 96b21c7f..063d321c 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -118,9 +118,7 @@ impl State {
self.backend.toggle_debug_tint();
}
Action::Spawn(command) => {
- if let Some((command, args)) = command.split_first() {
- spawn(command, args);
- }
+ spawn(command);
}
Action::ScreenshotScreen => {
let active = self.niri.layout.active_output().cloned();