Browse Source

moved zsh to its own module + fixed swatch in prompt not updating

master
Thorn Avery 3 years ago
parent
commit
9570691cf6
3 changed files with 3 additions and 2 deletions
  1. +0
    -1
      modules/bspwm/home.nix
  2. +2
    -1
      modules/zsh/home.nix
  3. +1
    -0
      users/thorn/home.nix

+ 0
- 1
modules/bspwm/home.nix View File

@@ -3,7 +3,6 @@
imports = [ imports = [
./wm.nix ./wm.nix
./rofi.nix ./rofi.nix
./zsh.nix
]; ];


home.packages = with pkgs; [ home.packages = with pkgs; [


modules/bspwm/zsh.nix → modules/zsh/home.nix View File

@@ -22,8 +22,9 @@ in {
share = true; share = true;
}; };
initExtra = '' initExtra = ''
setopt promptsubst
autoload -U colors && colors autoload -U colors && colors
export PROMPT="%{$fg[white]%}%B$(swatch)%b %{$fg[blue]%}%2~ %{$fg[green]%}%B>%b ";
export PROMPT='%{$fg[white]%}%B$(swatch)%b %{$fg[blue]%}%2~ %{$fg[green]%}%B>%b '
''; '';
shellAliases = { shellAliases = {
nf = "neofetch --gtk2 off --gtk3 off --ascii_bold on"; nf = "neofetch --gtk2 off --gtk3 off --ascii_bold on";

+ 1
- 0
users/thorn/home.nix View File

@@ -16,6 +16,7 @@
../../modules/bspwm/home.nix ../../modules/bspwm/home.nix
../../modules/urxvt/home.nix ../../modules/urxvt/home.nix
../../modules/picom/home.nix ../../modules/picom/home.nix
../../modules/zsh/home.nix


./fonts/home.nix ./fonts/home.nix
./xresources.nix ./xresources.nix


Loading…
Cancel
Save