Edit powerline config

This commit is contained in:
iFargle 2023-08-16 10:53:33 +09:00
parent 161a010fb1
commit 266adb45ca
2 changed files with 36 additions and 9 deletions

View file

@ -1,5 +1,6 @@
# NixOS Configuration Repository # NixOS Configuration Repository
Repo for nix configuration files Repo for nix configuration files
## Gruv all the things
--- ---
# To Do List # To Do List
* [ ] tmux config / theming * [ ] tmux config / theming
@ -7,7 +8,7 @@ Repo for nix configuration files
* [ ] mako config / theming * [ ] mako config / theming
* [ ] waybar config / theming * [ ] waybar config / theming
* [ ] hyprland config / theming * [ ] hyprland config / theming
* [ ] powerline config / theming * [x] powerline config / theming
* [ ] neofetch config / theming * [ ] neofetch config / theming
* [ ] weechat / weechat-matrix * [ ] weechat / weechat-matrix
* [ ] rofi config / theming * [ ] rofi config / theming
@ -20,7 +21,8 @@ Repo for nix configuration files
* [ ] Get function keys working (sound, brightness, etc) * [ ] Get function keys working (sound, brightness, etc)
* [ ] rofi - bitwarden-cli / bitwarden-menu ([Link](https://search.nixos.org/packages?channel=23.05&show=bitwarden-menu&from=0&size=50&sort=relevance&type=packages&query=bitwarden)) * [ ] rofi - bitwarden-cli / bitwarden-menu ([Link](https://search.nixos.org/packages?channel=23.05&show=bitwarden-menu&from=0&size=50&sort=relevance&type=packages&query=bitwarden))
* [ ] Try and submit this as a nixpkg - [Link](https://github.com/SylEleuth/gruvbox-plus-icon-pack) * [ ] Try and submit this as a nixpkg - [Link](https://github.com/SylEleuth/gruvbox-plus-icon-pack)
* [ ] Possibly move away from powerline-go - I want something simpler * [x] Possibly move away from powerline-go - I want something simpler
* Staying with powerline-go, just editing the config in `home-manager/bash.nix`
--- ---
@ -56,14 +58,14 @@ Repo for nix configuration files
1. `home-manager/neovim.nix` - Change the following: 1. `home-manager/neovim.nix` - Change the following:
* `plugins = with pkgs.vimPlugins` - Add your theme under "Themes" * `plugins = with pkgs.vimPlugins` - Add your theme under "Themes"
* `extraConfig` - Change the `colorscheme` and `AirlineTheme` sections * `extraConfig` - Change the `colorscheme` and `AirlineTheme` sections
### tmux / powerline
1. WIP
### hyprland / waybar ### hyprland / waybar
1. WIP 1. WIP
### Firefox ### Firefox
1. `home-manager/firefox.nix` - Change the entry under "# Theming" 1. `home-manager/firefox.nix` - Change the entry under "# Theming"
### btop ### btop
1. `home-manager/btop.nix` - Set `color_theme` 1. `home-manager/btop.nix` - Set `color_theme`
### bash / powerline
1. `home-manager/bash.nix` - Set `theme` in `programs.powerline-go.settings`
# GPG Keys # GPG Keys
1. Import the user private key: `gpg import gpg/users/albert/privkey.asc` 1. Import the user private key: `gpg import gpg/users/albert/privkey.asc`
@ -92,7 +94,7 @@ Repo for nix configuration files
# Other # Other
* Try this - https://yewtu.be/watch?v=61wGzIv12Ds&local=true * Try this - https://yewtu.be/watch?v=61wGzIv12Ds&local=true
* gruvbox-factory - https://github.com/paulopacitti/gruvbox-factory * gruvbox-factory - https://github.com/paulopacitti/gruvbox-factory
https://github.com/Chick2D/neofetch-themes/ * https://github.com/Chick2D/neofetch-themes/
https://github.com/0bCdian/Hyprland_dotfiles/blob/main/mako/config * https://github.com/0bCdian/Hyprland_dotfiles/blob/main/mako/config
https://github.com/0bCdian/Hyprland_dotfiles/blob/gruvboxy/neofetch/config.conf * https://github.com/0bCdian/Hyprland_dotfiles/blob/gruvboxy/neofetch/config.conf
https://man.sr.ht/~kennylevinsen/greetd/ * https://man.sr.ht/~kennylevinsen/greetd/

View file

@ -3,7 +3,32 @@
# https://nix-community.github.io/home-manager/options.html # https://nix-community.github.io/home-manager/options.html
# https://github.com/justjanne/powerline-go # https://github.com/justjanne/powerline-go
programs.powerline-go.enable = true; # https://nix-community.github.io/home-manager/options.html#opt-programs.powerline-go.enable
programs.powerline-go = {
enable = true;
# https://github.com/justjanne/powerline-go#customization
settings = {
hostame-only-if-ssh = true;
cwd-max-depth = 3;
condensed = true;
modules = [
venv,
user,
host,
ssh,
cwd,
root
];
modules-right = [
nix-shell,
perms,
git,
docker,
exit
];
theme = "gruvbox";
};
};
programs = { programs = {
bash = { bash = {