Fix zsh (OMZ+carapace), GTK dark mode, waybar styling

This commit is contained in:
2026-02-09 22:12:20 +11:00
parent 2d583d8537
commit b40e86300c
6 changed files with 31 additions and 7 deletions

View File

@@ -251,8 +251,7 @@ layout {
// See the binds section below for more spawn examples.
// This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup "waybar"
spawn-at-startup "/run/current-system/sw/bin/waybar"
spawn-at-startup "kitty"
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"

View File

@@ -1,6 +1,7 @@
{
"layer": "top",
"position": "top",
"height": 30,
"modules-left": ["niri/workspaces"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "tray"]

View File

@@ -1 +1,11 @@
* { font-family: sans-serif; font-size: 12px; }
* { font-size: 14px; }
window#waybar {
background: @theme_bg_color;
color: @theme_fg_color;
}
#workspaces button.focused {
background: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}

View File

@@ -37,7 +37,7 @@ export PATH="$HOME/.local/bin:$HOME/.fzf/bin:$PATH"
# === Source Oh My Zsh ===
# This line loads the Oh My Zsh framework. All customisations must come after this.
source $ZSH/oh-my-zsh.sh
#source $ZSH/oh-my-zsh.sh
# === Custom Tool Configuration ===
@@ -69,7 +69,7 @@ bindkey '^[[B' atuin-down-search # Down arrow
# 6. Carapace (Completion Engine)
# This will now work because the PATH is set correctly above.
source <(carapace-bin _carapace zsh)
#source <(carapace-bin _carapace zsh)
# === Load Powerlevel10k Theme ===

View File

@@ -26,6 +26,12 @@ home.stateVersion = "25.11";
programs.home-manager.enable = true;
dconf.settings."org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
# ---
# Shell (zsh + oh-my-zsh + powerlevel10k)
# ---
@@ -53,6 +59,10 @@ home.stateVersion = "25.11";
if [ -f "$HOME/.config/zsh/local.zsh" ]; then
source "$HOME/.config/zsh/local.zsh"
fi
# carapace completions
if command -v carapace >/dev/null 2>&1; then
eval "$(carapace _carapace zsh)"
fi
'';
};
@@ -89,7 +99,7 @@ home.stateVersion = "25.11";
# Packages (NOW list + a few safe essentials)
# ---
home.packages = with pkgs; [
carapace
aider-chat
opencode
goose-cli

View File

@@ -17,6 +17,8 @@
./hardware-configuration.nix
];
home-manager.backupFileExtension = "hm-bak";
# ---
# Nix (enable flakes on the installed system)
# ---
@@ -230,12 +232,14 @@ PermitRootLogin = "no";
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-wlr
];
};
# Minimal system packages needed for the session and core usability
environment.systemPackages = with pkgs; [
spotify
vlc
telegram-desktop
flameshot
waybar