Update Gruvbox theme.

This commit is contained in:
Dmitry Voronin 2024-03-05 23:37:21 +03:00
parent 0079e3f090
commit ae7eaeda56
6 changed files with 21 additions and 31 deletions

View file

@ -262,22 +262,6 @@
"url": "https://git.voronind.com/mirror/gitsigns.nvim.git"
}
},
"nvimGruvbox": {
"flake": false,
"locked": {
"lastModified": 1692021846,
"narHash": "sha256-goRu7008Iag99QieKZxQkwEyMRc7wY1ipA8z7YoCC+M=",
"ref": "refs/heads/master",
"rev": "f1ecde848f0cdba877acb0c740320568252cc482",
"revCount": 192,
"type": "git",
"url": "https://git.voronind.com/mirror/gruvbox.git"
},
"original": {
"type": "git",
"url": "https://git.voronind.com/mirror/gruvbox.git"
}
},
"nvimGruvboxMaterial": {
"flake": false,
"locked": {
@ -514,7 +498,6 @@
"nvimCloseBuffers": "nvimCloseBuffers",
"nvimDevicons": "nvimDevicons",
"nvimGitsigns": "nvimGitsigns",
"nvimGruvbox": "nvimGruvbox",
"nvimGruvboxMaterial": "nvimGruvboxMaterial",
"nvimIndentoMatic": "nvimIndentoMatic",
"nvimLspconfig": "nvimLspconfig",

View file

@ -47,10 +47,6 @@
url = "git+https://git.voronind.com/mirror/gruvbox-material.git";
flake = false;
};
nvimGruvbox = {
url = "git+https://git.voronind.com/mirror/gruvbox.git";
flake = false;
};
nvimIndentoMatic = {
url = "git+https://git.voronind.com/mirror/indent-o-matic.git";
flake = false;

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: {
boot.kernelModules = [ "kvm-amd" ];
boot.kernelModules = [ "kvm-amd" ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -18,7 +18,6 @@ in {
set runtimepath+=${inputs.nvimDevicons}
set runtimepath+=${inputs.nvimGitsigns}
set runtimepath+=${inputs.nvimGruvboxMaterial}
set runtimepath+=${inputs.nvimGruvbox}
set runtimepath+=${inputs.nvimIndentoMatic}
set runtimepath+=${inputs.nvimLspconfig}
set runtimepath+=${inputs.nvimLualine}

View file

@ -1 +1,13 @@
vim.cmd([[
if has('termguicolors')
set termguicolors
endif
]])
vim.o.background = "dark"
vim.g.gruvbox_material_background = "medium"
vim.g.gruvbox_material_foreground = "original"
vim.g.gruvbox_material_better_performance = 1
vim.cmd("colorscheme gruvbox-material")
vim.cmd("let g:lightline = {'colorscheme' : 'gruvbox_material'}")

View file

@ -21,7 +21,7 @@ bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
# Selection style.
set -g mode-style 'fg=black,bg=yellow bold'
set -g mode-style 'fg=color236,bg=color184 bold'
# Update environment from client.
set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY"
@ -63,20 +63,20 @@ set -g window-size smallest
set -g status-interval 2
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=color236 fg=color187'
set -g status-style 'bg=color236 fg=color230'
set -g status-left ' #[bold]#H-#S #(count=$(tmux list-clients -t #S | wc -l); [ ${count} -gt 1 ] && echo "(${count}) ")'
set -g status-left-length 50
set -g status-right ' #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ")#[fg=color187,bg=color239] %Y-%m-%d #[bg=color138,fg=black,bold] %H:%M '
set -g status-right ' #(head -c -1 /sys/class/power_supply/BAT*/capacity 2> /dev/null && echo -n "% ")#[fg=color144,bg=color236] %Y-%m-%d #[bg=color144,fg=color236,bold] %H:%M '
set -g status-right-length 50
setw -g window-status-current-style 'fg=black bg=color143 bold'
setw -g window-status-current-format ' #[fg=black]#W#[fg=black]#F '
setw -g window-status-current-style 'fg=color236 bg=color184 bold'
setw -g window-status-current-format ' #[fg=color236]#W#[fg=color236]#F '
setw -g window-status-style 'fg=black bg=color138'
setw -g window-status-format ' #[fg=black]#W#[fg=black] '
setw -g window-status-style 'fg=color236 bg=color144'
setw -g window-status-format ' #[fg=color236]#W#[fg=color236] '
setw -g window-status-bell-style 'fg=black bg=white bold'
setw -g window-status-bell-style 'fg=color236 bg=color144 bold'
# Create new window.
bind -n M-Escape new-window -c "#{pane_current_path}"