Foot & Tmux : Update colors for gruvbox.

This commit is contained in:
Dmitry Voronin 2024-04-01 03:48:01 +03:00
parent e6d0e73a63
commit 0abc268faa
5 changed files with 31 additions and 19 deletions

View file

@ -3,3 +3,7 @@ font=Terminess Nerd Font Mono:size=12
font-italic=Terminess Nerd Font Mono:size=12 font-italic=Terminess Nerd Font Mono:size=12
font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=12 font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=12
dpi-aware=yes dpi-aware=yes
[colors]
background=1d2021
foreground=ebdbb2

View file

@ -21,7 +21,11 @@ bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
# Selection style. # Selection style.
set -g mode-style 'fg=color236,bg=color184 bold' set -g mode-style "fg=#282828 bg=#b8bb26 bold"
# Pane style.
set -g pane-border-style "fg=#504945"
set -g pane-active-border-style "fg=#504945"
# Remap split keys. # Remap split keys.
bind -n M-\\ split-window -h -c "#{pane_current_path}" bind -n M-\\ split-window -h -c "#{pane_current_path}"
@ -60,23 +64,23 @@ set -g window-size smallest
set -g status-interval 2 set -g status-interval 2
set -g status-position bottom set -g status-position bottom
set -g status-justify left set -g status-justify left
set -g status-style 'bg=color236 fg=color187' set -g status-style "bg=#3c3836 fg=#a89984"
set -g status-left '#[bold,bg=color138,fg=color236] #H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")#[bg=color236,fg=color138]' set -g status-left "#[bold,bg=#a89984,fg=#282828] #H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo (${count}) )#[bg=#3c3836,fg=#a89984]"
set -g status-left-length 50 set -g status-left-length 50
set -g status-right-length 50 set -g status-right-length 50
set -g status-right ' #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ") %Y-%m-%d #[fg=color138]#[bg=color138,fg=color236,bold] %H:%M ' set -g status-right " #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n '% ') %Y-%m-%d #[fg=#a89984]#[bold,bg=#a89984,fg=#282828] %H:%M "
set-window-option -g window-status-separator '' set-window-option -g window-status-separator ""
setw -g window-status-current-style 'fg=color230 bold italics' setw -g window-status-current-style "fg=#ebdbb2 bold"
setw -g window-status-current-format ' #W ' setw -g window-status-current-format " #W "
setw -g window-status-style '' setw -g window-status-style ""
setw -g window-status-format ' #W ' setw -g window-status-format " #W "
set-window-option -g visual-bell off set-window-option -g visual-bell off
setw -g window-status-bell-style 'bold blink' setw -g window-status-bell-style "bold blink"
# Create new window. # Create new window.
bind -n M-Escape new-window -c "#{pane_current_path}" bind -n M-Escape new-window -c "#{pane_current_path}"
@ -97,6 +101,6 @@ bind -n M-Q swap-window -t -1\; select-window -t -1
# Env. # Env.
set-option -g default-terminal "tmux-256color" set-option -g default-terminal "tmux-256color"
set-option -g focus-events on set-option -g focus-events on
set-option -sa terminal-features 'RGB' set-option -sa terminal-features "RGB"
set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY BASH_PATH" set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY BASH_PATH"

View file

@ -3,3 +3,7 @@ font=Terminess Nerd Font Mono:size=14
font-italic=Terminess Nerd Font Mono:size=14 font-italic=Terminess Nerd Font Mono:size=14
font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=14 font-bold-italic=Terminess Nerd Font Mono:weight=bold:size=14
dpi-aware=yes dpi-aware=yes
[colors]
background=1d2021
foreground=ebdbb2

View file

@ -1,11 +1,11 @@
set $bg #282828 set $bg #282828
set $bg_2 #504945 set $bg_2 #504945
set $fg #000000 set $fg #000000
set $fg_1 #FBF1C7 set $fg_1 #fbf1c7
set $fg_2 #D5C4A1 set $fg_2 #d5c4a1
set $red #cc241d set $red #cc241d
set $green #98971a set $green #98971a
set $yellow #d79921 set $yellow #b8bb26
set $blue #458588 set $blue #458588
set $blue_faded #076678 set $blue_faded #076678
set $purple #b16286 set $purple #b16286
@ -15,7 +15,7 @@ set $darkgray #1d2021
# Class Border Bground Text Indicator ChildBorder # Class Border Bground Text Indicator ChildBorder
client.focused $yellow $yellow $fg $yellow $yellow client.focused $yellow $yellow $fg $yellow $yellow
client.focused_inactive $bg_2 #5F676A $fg #484E50 #5F676A client.focused_inactive $bg_2 #5f676a $fg #484e50 #5f676a
client.unfocused $bg_2 #282828 #888888 #292D2E #222222 client.unfocused $bg_2 #282828 #888888 #292d2e #222222
client.urgent #2F343A #CC241D $fg_1 #CC241D #CC241D client.urgent #2f343a #cc241d $fg_1 #cc241d #cc241d
client.placeholder #1D2021 #0C0C0C $fg #000000 #0C0C0C client.placeholder #1d2021 #0c0c0c $fg #000000 #0c0c0c

View file

@ -1,4 +1,4 @@
# Application launcher. # Application launcher.
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -i -f "SF Pro Display Medium 14" -M 232323 -S 232323 -N 232323 -m d79921 -s d79921 -n fbf1c7 | xargs swaymsg exec -- set $menu _dmenu_path_wrapped | wmenu -b -p 'Run:' -i -f "SF Pro Display Medium 14" -M 1d2021 -S 1d2021 -N 1d2021 -m b8bb26 -s b8bb26 -n ebdbb2 | xargs swaymsg exec --