summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-08-01 22:14:25 +0200
committerDaiderd Jordan <daiderd@gmail.com>2018-08-01 22:14:25 +0200
commit79ebb8aebc8e71a1178a14ea2e62f0d2b67f3385 (patch)
treef9a7020e35d9ef3d608debc501b268081fca0227 /modules/examples
parent69dc676f7d43384cccc44901c2431a14442a9754 (diff)
lnl: update tmux status
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/lnl.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix
index 716cb9e..e902fce 100644
--- a/modules/examples/lnl.nix
+++ b/modules/examples/lnl.nix
@@ -83,17 +83,20 @@
programs.tmux.enableVim = true;
programs.tmux.tmuxConfig = ''
- bind-key -n M-r run "tmux send-keys -t .+ C-l Up Enter"
- bind-key -n M-R run "tmux send-keys -t $(hostname -s | awk -F'-' '{print tolower($NF)}') C-l Up Enter"
-
bind 0 set status
bind S choose-session
bind-key -r "<" swap-window -t -1
bind-key -r ">" swap-window -t +1
+ bind-key -n M-r run "tmux send-keys -t .+ C-l Up Enter"
+ bind-key -n M-R run "tmux send-keys -t $(hostname -s | awk -F'-' '{print tolower($NF)}') C-l Up Enter"
+
+ set -g pane-active-border-style fg=black
+ set -g pane-border-style fg=black
set -g status-bg black
set -g status-fg white
+ set -g status-right '#[fg=white]#(id -un)@#(hostname) #(cat /run/current-system/darwin-version)'
'';
programs.vim.enable = true;