Fix zsh (OMZ+carapace), GTK dark mode, waybar styling
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"modules-left": ["niri/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["pulseaudio", "network", "tray"]
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 ===
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user