diff options
| author | Andrew <admonty1@protonmail.com> | 2025-08-30 14:31:44 -0400 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-08-30 14:31:44 -0400 |
| commit | 5de7d9eac70506027d1084bb6af3b4a6fcb1eed0 (patch) | |
| tree | 3346aa9ff72c4093ead09c1268b23e7a067136a2 /sh.nix | |
| parent | change some stuff in neovim config (diff) | |
| download | nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.tar.gz nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.tar.bz2 nixos-5de7d9eac70506027d1084bb6af3b4a6fcb1eed0.zip | |
change waybar to match new workspace config
Diffstat (limited to '')
| -rw-r--r-- | sh.nix | 44 |
1 files changed, 21 insertions, 23 deletions
@@ -3,8 +3,7 @@ lib, pkgs, ... -}: -let +}: let myAliases = { ll = "ls -l"; ".." = "cd .."; @@ -15,8 +14,7 @@ let rev = "0ce27b518e8ead555dec34dd8be3df5bd75cff8e"; hash = "sha256-Dc/zdxfzAUM5NX8PxzfljRbYvO9f9syuLO8yBr+R3qg="; }; -in -{ +in { programs.bash = { enable = true; shellAliases = myAliases; @@ -36,23 +34,23 @@ in theme = ""; }; initContent = '' - # Powerlevel10k configuration - source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme - source ${./.p10k.zsh} - # Initialize zoxide - eval "$(zoxide init zsh)" + # Powerlevel10k configuration + source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme + source ${./.p10k.zsh} + # Initialize zoxide + eval "$(zoxide init zsh)" - # Initialize fzf - source <(fzf --zsh) + # Initialize fzf + source <(fzf --zsh) - # Source fzf-tab (needs to be after fzf) - source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh + # Source fzf-tab (needs to be after fzf) + source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh - # Custom aliases - alias ll="ls -la" - alias gs="git status" + # Custom aliases + alias ll="ls -la" + alias gs="git status" - bindkey '^ ' autosuggest-execute + bindkey '^ ' autosuggest-execute ''; }; @@ -70,7 +68,7 @@ in gs = "git status"; }; shellAliases = { - tms = "bash ~/.config/tmux/setup-sessions.sh"; + #tms = "bash ~/.config/tmux/setup-sessions.sh"; }; interactiveShellInit = '' fish_vi_key_bindings @@ -78,9 +76,9 @@ in zoxide init fish | source fzf --fish | source starship init fish | source - set -gx EDITOR nvim - set -gx VISUAL nvim - ''; + set -gx EDITOR nvim + set -gx VISUAL nvim + ''; }; # hodgepodge of these two themes:https://starship.rs/presets/catppuccin-powerline, https://starship.rs/presets/tokyo-night @@ -88,7 +86,7 @@ in home.file.".config/starship.toml".text = '' format = """ [](fg:#a3aed2)\ - $username\ + $username\ [](bg:#769ff0 fg:#a3aed2)\ $directory\ [](fg:#769ff0 bg:#394260)\ @@ -228,5 +226,5 @@ in base = "#1e1e2e" mantle = "#181825" crust = "#11111b" - ''; + ''; } |
