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.
|
// See the binds section below for more spawn examples.
|
||||||
|
|
||||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||||
|
spawn-at-startup "/run/current-system/sw/bin/waybar"
|
||||||
spawn-at-startup "waybar"
|
|
||||||
spawn-at-startup "kitty"
|
spawn-at-startup "kitty"
|
||||||
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
||||||
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
|
"height": 30,
|
||||||
"modules-left": ["niri/workspaces"],
|
"modules-left": ["niri/workspaces"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": ["pulseaudio", "network", "tray"]
|
"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 ===
|
# === Source Oh My Zsh ===
|
||||||
# This line loads the Oh My Zsh framework. All customisations must come after this.
|
# 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 ===
|
# === Custom Tool Configuration ===
|
||||||
@@ -69,7 +69,7 @@ bindkey '^[[B' atuin-down-search # Down arrow
|
|||||||
|
|
||||||
# 6. Carapace (Completion Engine)
|
# 6. Carapace (Completion Engine)
|
||||||
# This will now work because the PATH is set correctly above.
|
# This will now work because the PATH is set correctly above.
|
||||||
source <(carapace-bin _carapace zsh)
|
#source <(carapace-bin _carapace zsh)
|
||||||
|
|
||||||
|
|
||||||
# === Load Powerlevel10k Theme ===
|
# === Load Powerlevel10k Theme ===
|
||||||
|
|||||||
@@ -26,6 +26,12 @@ home.stateVersion = "25.11";
|
|||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
dconf.settings."org/gnome/desktop/interface" = {
|
||||||
|
color-scheme = "prefer-dark";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Shell (zsh + oh-my-zsh + powerlevel10k)
|
# Shell (zsh + oh-my-zsh + powerlevel10k)
|
||||||
# ---
|
# ---
|
||||||
@@ -53,6 +59,10 @@ home.stateVersion = "25.11";
|
|||||||
if [ -f "$HOME/.config/zsh/local.zsh" ]; then
|
if [ -f "$HOME/.config/zsh/local.zsh" ]; then
|
||||||
source "$HOME/.config/zsh/local.zsh"
|
source "$HOME/.config/zsh/local.zsh"
|
||||||
fi
|
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)
|
# Packages (NOW list + a few safe essentials)
|
||||||
# ---
|
# ---
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
carapace
|
||||||
aider-chat
|
aider-chat
|
||||||
opencode
|
opencode
|
||||||
goose-cli
|
goose-cli
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager.backupFileExtension = "hm-bak";
|
||||||
|
|
||||||
# ---
|
# ---
|
||||||
# Nix (enable flakes on the installed system)
|
# Nix (enable flakes on the installed system)
|
||||||
# ---
|
# ---
|
||||||
@@ -230,12 +232,14 @@ PermitRootLogin = "no";
|
|||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.xdg-desktop-portal-gtk
|
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
|
# Minimal system packages needed for the session and core usability
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
spotify
|
||||||
|
vlc
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
flameshot
|
flameshot
|
||||||
waybar
|
waybar
|
||||||
|
|||||||
Reference in New Issue
Block a user