From ef542c35cc857cae81908c02e6d6e905a789ae74 Mon Sep 17 00:00:00 2001 From: cy Date: Wed, 25 Dec 2024 03:37:28 -0500 Subject: [PATCH] tmux and foot: use nightfox colorscheme --- home/foot.nix | 43 +++++++++++++++++++++---------------------- home/tmux.nix | 24 +++++++++++++++++++++++- 2 files changed, 44 insertions(+), 23 deletions(-) diff --git a/home/foot.nix b/home/foot.nix index 049005c..6d20f6d 100644 --- a/home/foot.nix +++ b/home/foot.nix @@ -23,28 +23,27 @@ }; # rose pine: https://codeberg.org/dnkl/foot/src/branch/master/themes/rose-pine colors = { - background = "191724"; - foreground = "e0def4"; - - regular0 = "26233a"; # black (Overlay) - regular1 = "eb6f92"; # red (Love) - regular2 = "9ccfd8"; # green (Foam) - regular3 = "f6c177"; # yellow (Gold) - regular4 = "31748f"; # blue (Pine) - regular5 = "c4a7e7"; # magenta (Iris) - regular6 = "ebbcba"; # cyan (Rose) - regular7 = "e0def4"; # white (Text) - - bright0 = "47435d"; # bright black (lighter Overlay) - bright1 = "ff98ba"; # bright red (lighter Love) - bright2 = "c5f9ff"; # bright green (lighter Foam) - bright3 = "ffeb9e"; # bright yellow (lighter Gold) - bright4 = "5b9ab7"; # bright blue (lighter Pine) - bright5 = "eed0ff"; # bright magenta (lighter Iris) - bright6 = "ffe5e3"; # bright cyan (lighter Rose) - bright7 = "fefcff"; # bright white (lighter Text) - - flash = "f6c177"; # yellow (Gold) + # Nightfox colors for Xresources + # Style: nightfox + # Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/nightfox/nightfox.Xresources + background = "192330"; + foreground = "cdcecf"; + regular0 = "393b44"; + regular1 = "c94f6d"; + regular2 = "81b29a"; + regular3 = "dbc074"; + regular4 = "719cd6"; + regular5 = "9d79d6"; + regular6 = "63cdcf"; + regular7 = "dfdfe0"; + bright0 = "575860"; + bright1 = "d16983"; + bright2 = "8ebaa4"; + bright3 = "e0c989"; + bright4 = "86abdc"; + bright5 = "baa1e2"; + bright6 = "7ad5d6"; + bright7 = "e4e4e5"; }; key-bindings = { diff --git a/home/tmux.nix b/home/tmux.nix index 11c968a..21588ab 100644 --- a/home/tmux.nix +++ b/home/tmux.nix @@ -8,7 +8,6 @@ mouse = false; plugins = with pkgs.tmuxPlugins; [ yank - tokyo-night-tmux { plugin = resurrect; extraConfig = "set -g @resurrect-capture-pane-contents 'on'"; @@ -29,6 +28,29 @@ bind u attach-session -c "#{pane_current_path}" bind v split-window -c "#{pane_current_path}" -h bind s split-window -c "#{pane_current_path}" -v + + # Nightfox colors for Tmux + # Style: nightfox + # Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/nightfox/nightfox.tmux + set -g mode-style "fg=#131a24,bg=#aeafb0" + set -g message-style "fg=#131a24,bg=#aeafb0" + set -g message-command-style "fg=#131a24,bg=#aeafb0" + set -g pane-border-style "fg=#aeafb0" + set -g pane-active-border-style "fg=#719cd6" + set -g status "on" + set -g status-justify "left" + set -g status-style "fg=#aeafb0,bg=#131a24" + set -g status-left-length "100" + set -g status-right-length "100" + set -g status-left-style NONE + set -g status-right-style NONE + set -g status-left "#[fg=#131a24,bg=#719cd6,bold] #S #[fg=#719cd6,bg=#131a24,nobold,nounderscore,noitalics]" + set -g status-right "#[fg=#131a24,bg=#131a24,nobold,nounderscore,noitalics]#[fg=#719cd6,bg=#131a24] #{prefix_highlight} #[fg=#aeafb0,bg=#131a24,nobold,nounderscore,noitalics]#[fg=#131a24,bg=#aeafb0] %Y-%m-%d  %I:%M %p #[fg=#719cd6,bg=#aeafb0,nobold,nounderscore,noitalics]#[fg=#131a24,bg=#719cd6,bold] #h " + setw -g window-status-activity-style "underscore,fg=#71839b,bg=#131a24" + setw -g window-status-separator "" + setw -g window-status-style "NONE,fg=#71839b,bg=#131a24" + setw -g window-status-format "#[fg=#131a24,bg=#131a24,nobold,nounderscore,noitalics]#[default] #I  #W #F #[fg=#131a24,bg=#131a24,nobold,nounderscore,noitalics]" + setw -g window-status-current-format "#[fg=#131a24,bg=#aeafb0,nobold,nounderscore,noitalics]#[fg=#131a24,bg=#aeafb0,bold] #I  #W #F #[fg=#aeafb0,bg=#131a24,nobold,nounderscore,noitalics]" ''; }; }