aboutsummaryrefslogtreecommitdiff
path: root/modules/terminal
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-09-14 13:57:22 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-09-14 14:12:12 -0500
commitc30b58c5fee65d370f6081d26519de348515a09f (patch)
tree2dfe4f9cd336632c0826c3a1909672b35d5c7655 /modules/terminal
parent8244bb48b9dbd3358aa6d47209dfbfd3c19b906f (diff)
small bug in tmux cfg
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 "$@"