tmux status bar + nvim msgarea

This commit is contained in:
Daniel Lundin 2022-02-17 17:51:06 +01:00
parent 96d38ba6b1
commit dac5006c19
3 changed files with 10 additions and 9 deletions

View file

@ -13,14 +13,14 @@ tmux:
styles:
clear: '#[fg=default]'
state: '#[bg=red,fg=white]'
branch: '#[fg=#9ccc65,bg=#2E7D32] '
branch: '#[fg=#9ccc65,bg=#1B5E20] '
remote: '#[fg=cyan]'
staged: '#[fg=green]'
conflict: '#[fg=red]'
modified: '#[fg=#fdd835,bg=#2E7D32]'
untracked: '#[fg=#ff7043,bg=#2E7D32]'
modified: '#[fg=#fdd835,bg=#1B5E20]'
untracked: '#[fg=#ff7043,bg=#1B5E20]'
stashed: '#[fg=#ffcdd2]'
clean: '#[fg=#4caf50,bg=#2E7D32]'
clean: '#[fg=#4caf50,bg=#1B5E20]'
layout: [branch, divergence, ' ', flags, '#[fg=#212121]▕']
options:
branch_max_len: 0

View file

@ -12,8 +12,9 @@ local base = require "zenbones"
-- Create some specs
local specs = lush.parse(function()
return {
CursorLine { bg = "#f0f5fa" },
CursorLineNr { fg = "#607D8B", bg="#f0f5fa" },
CursorLine { bg = "#f5f5f0" },
CursorLineNr { fg = "#BCAAA4", bg="#f5f5f0" },
MsgArea { fg = "#A1887F", bg="#f1f1f1" },
String { fg = "#33691E", gui = "italic" },
Comment { fg = "#114499", gui = "bold,italic" },
LineNr { fg = "#CFD8DC", gui = "bold,italic" },

View file

@ -58,11 +58,11 @@ bind-key -n C-\\ copy-mode \; send -X search-backward " % "\; send -X search-aga
setw -g window-status-format ""
setw -g window-status-current-format ""
setw -g window-status-separator ""
set -g status-style "bg=#f0f0f0,fg=#000000"
set -g status-style "bg=#313131,fg=#919191"
set -g status-left-length 0
set -g status-right-length 0
set -g status-left '#{?#{==:#I,1},#[bg=#99aabb]  #[bg=#ccddee]#[fg=#445566] #T #[fg=#ccddee]#[bg=#f0f0f0]🭬,#[bg=#cccccc,fg=#ffffff] #I#[fg=#fcfcfc]▕#[bg=#f0f0f0,fg=#777777] #{=|145|…:pane_current_path}}'
set -g status-right '#{?#{==:#I,1},,#[fg=#07f7f7]#{@starship}#[fg=#fcfcfc]▕#[fg=#f7f7f7]#(~/go/bin/gitmux -cfg ~/.config/gitmux/gitmux.yaml "#{pane_current_path}")}#[bg=#cccccc,fg=#ffffff] #(date +%%H:%%M) '
set -g status-left '#{?#{==:#I,1},#[bg=#515151]#[fg=#a1a1a1]  #[bg=#515151]#[fg=#d1d1d1] #T #[fg=#515151]#[bg=#313131]🭬,#[bg=#515151,fg=#c1c1c1] #I#[fg=#313131]▕#[bg=#313131,fg=#cccccc] #{=|145|…:pane_current_path}}'
set -g status-right '#{?#{==:#I,1},,#[fg=#07f7f7]#{@starship}#[fg=#313131]▕#[fg=#f7f7f7]#(~/go/bin/gitmux -cfg ~/.config/gitmux/gitmux.yaml "#{pane_current_path}")}#[bg=#4e342e fg=#e0a74d] #(date +%%H:%%M) '
set -g set-titles on
set -g set-titles-string "#H - #T"