mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-22 08:54:59 +00:00
14 lines
784 B
Diff
14 lines
784 B
Diff
|
diff --git a/src/swapper.rs b/src/swapper.rs
|
||
|
index 6cf1e89..bcb0969 100644
|
||
|
--- a/src/swapper.rs
|
||
|
+++ b/src/swapper.rs
|
||
|
@@ -215,7 +215,7 @@ impl<'a> Swapper<'a> {
|
||
|
};
|
||
|
|
||
|
let pane_command = format!(
|
||
|
- "tmux capture-pane -J -et {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/target/release/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}",
|
||
|
+ "tmux capture-pane -J -et {active_pane_id} -p{scroll_params} | tail -n {height} | {dir}/thumbs -f '%U:%H' -t {tmp} {args}; tmux swap-pane -t {active_pane_id}; {zoom_command} tmux wait-for -S {signal}",
|
||
|
active_pane_id = active_pane_id,
|
||
|
scroll_params = scroll_params,
|
||
|
height = self.active_pane_height.unwrap_or(i32::MAX),
|