aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'modules/terminal')
-rw-r--r--modules/terminal/hjem/programs/tmux.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/terminal/hjem/programs/tmux.nix b/modules/terminal/hjem/programs/tmux.nix
index e20d041..6ff485c 100644
--- a/modules/terminal/hjem/programs/tmux.nix
+++ b/modules/terminal/hjem/programs/tmux.nix
@@ -30,7 +30,7 @@
width=$(tmux display -p "#{pane_width}")
height=$(tmux display -p "#{pane_height}")
- if (( $(echo "$width / $height > 2.5" | bc -l) )); then
+ if (( $(echo "$width / $height > 2.5" | ${pkgs.bc}/bin/bc -l) )); then
tmux split-window -h "$@"
else
tmux split-window -v "$@"