From 805060dd522a2d1c4b045589591ff9ed7453c39a Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Sat, 10 Jan 2026 22:49:30 +0100 Subject: [PATCH] some more fixes --- modules/fish/default.nix | 5 ++--- modules/tmux/default.nix | 11 ++++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/fish/default.nix b/modules/fish/default.nix index ad4fa6b..600e3bd 100644 --- a/modules/fish/default.nix +++ b/modules/fish/default.nix @@ -63,15 +63,14 @@ set -l selected (dev_projects | command fzf \ --prompt "Create/switch to session: " \ --header " Ctrl-d: Kill Session " \ - --bind "ctrl-d:execute(tmux kill-session -t {2..})++reload(dev_projects)") - + --bind "ctrl-d:execute(tmux kill-session -t {1})++reload(dev_projects)") if test -z "$selected" return 1 end set -l session_name (basename $selected) - set -l tmux_runnning (pgrep tmux) + set -l tmux_running (pgrep tmux) if test -z $TMUX && test -z $tmux_running tmux new-session -s $session_name -c $selected diff --git a/modules/tmux/default.nix b/modules/tmux/default.nix index 6edfb70..7ad0c97 100644 --- a/modules/tmux/default.nix +++ b/modules/tmux/default.nix @@ -35,20 +35,21 @@ } ]; extraConfig = '' - set -g status-position bottom + set -g status-position top set -g status-style bg=#1d202f,fg=white - set -g status-left ' [#I] #W ' - set -g status-right '#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H ' + set -g status-left "" + set -g status-right "#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H " set -g window-status-current-style bg=default,fg=magenta,bold + set-window-option -g window-status-format "[#I] #W#F" set -g pane-border-style fg=gray set -g pane-active-border-style fg=magenta unbind % bind "|" split-window -h unbind '"' - bind - split-window -l 30 -v + bind - split-window -l 15 -v - bind r source-file ~/.config/tmux/tmux.conf + bind r source-file "~/.config/tmux/tmux.conf" bind h select-pane -L bind j select-pane -D