Palette library integrated + polybar and alacritty

This commit is contained in:
Filippo Berto 2021-06-11 00:20:03 +02:00
parent a61bfe3c50
commit ef5b48d142
17 changed files with 1090 additions and 214 deletions

View file

@ -1,5 +1,10 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
nix-zsh-completions
zsh-completions
];
programs.zsh = {
enable = true;
autocd = true;
@ -8,9 +13,13 @@
# src = pkgs.zsh-powerlevel10k;
# file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
# }];
# initExtraBeforeCompInit = ''
# source $HOME/.p10k.zsh
# '';
initExtraBeforeCompInit = ''
zstyle ':completion:*' menu select
setopt CORRECT
setopt AUTO_CD
setopt CHASE_LINKS
setopt PUSHD_TO_HOME
'';
# localVariables = {
# POWERLEVEL9K_LEFT_PROMPT_ELEMENTS = [ "os_icon" "dir" "vcs" "prompt_char" ];
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS = [ "status" "command_execution_time" "background_jobs" "direnv" "nix_shell" "time" "vpn_ip" ]
@ -21,8 +30,6 @@
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
# format = "[$all](inverted)";
directory.truncation_symbol = "/";
hostname.format = "[$hostname]($style) ";
line_break.disabled = true;