From 9c729c3da28cbc700d1e6402ab9b687df84b2e7d Mon Sep 17 00:00:00 2001 From: Rob Date: Mon, 18 Nov 2024 12:44:10 +0000 Subject: [PATCH] add: tmux. Started via: ~/.bashrc --- dot-files/.tmux.conf | 8 ++++---- modules/tmux.nix | 13 +------------ 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/dot-files/.tmux.conf b/dot-files/.tmux.conf index 077da84..d13e640 100644 --- a/dot-files/.tmux.conf +++ b/dot-files/.tmux.conf @@ -1,6 +1,6 @@ -set -g default-shell /bin/bash -set -g default-command /bin/bash -set-option -g default-shell /bin/bash +set -g default-shell /run/current-system/sw/bin/bash +set -g default-command "bash --norc" +set-option -g default-shell /run/current-system/sw/bin/bash set-window-option -g automatic-rename on @@ -18,7 +18,7 @@ set -g history-limit 3000 set -g status-interval 60 ##set -g status-left '#H#[default]' ##computername augeblendet, weil letzte Zeichen abgeschnitten set-option -g status-right-length 200 -set -g status-right 'ƒ #(~/code/lokale-scripte/show-disk-usage.sh) ƒ Akku: #(~/code/lokale-scripte/akku.sh) ƒ %d-%m-%Y ƒ %H:%M:%S' +set -g status-right '%Y-%m-%d ƒ %H:%M:%S' setw -g monitor-activity on set -g visual-activity on #setw -g mode-keys copy-mode-vi diff --git a/modules/tmux.nix b/modules/tmux.nix index 690840c..8fe02f7 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -1,22 +1,11 @@ { pkgs, ... }: - { programs.tmux = { enable = true; # clock24 = true; - extraConfig = '' - ## default config aus meinen dotfiles - `echo "$(cat /etc/nixos/dot-files/.tmux.conf)"` - - ## individuelle config für bfds - ### colors ### - # Ändern der Farbe des Rahmens auf Gelb - set -g pane-border-fg yellow - # Ändern der Hintergrundfarbe des Rahmens auf Blau - set -g pane-active-border-bg blue - + extraConfig = '' ''; };