use Noctalia instead of various components
This commit is contained in:
@@ -53,10 +53,6 @@ main() {
|
||||
if command -v tmux >/dev/null 2>&1 && [[ -n "${TMUX:-}" ]]; then
|
||||
tmux source-file "$HOME/.config/tmux/tmux.conf" >/dev/null 2>&1 || true
|
||||
fi
|
||||
if pgrep -x waybar >/dev/null 2>&1; then
|
||||
pkill -x waybar >/dev/null 2>&1 || true
|
||||
(waybar >/dev/null 2>&1 &) || true
|
||||
fi
|
||||
echo "note: restart Neovim (or :colorscheme \$THEME_NVIM_COLORSCHEME) and open a new shell to pick up theme.env.sh."
|
||||
}
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
# - term/.config/tmux/plugins/ (vendored upstream, stow-ignored)
|
||||
# - term/.config/yazi/theme.toml (declared mirror: yazi has no include)
|
||||
# - term/.config/starship.toml (declared mirror: starship has no include)
|
||||
# - hypr/.config/rofi/themes/ltmnight.rasi (declared mirror: rasi has no
|
||||
# alpha() function, so the two translucency values are #RRGGBBAA hex;
|
||||
# everything else maps onto the central theme via @import)
|
||||
# - hypr/.config/hypr/noctalia.lua + hypr/.config/kitty/themes/noctalia.conf
|
||||
# (Noctalia template output: shell-owned, gitignored, regenerated from
|
||||
# the active palette on every theme change)
|
||||
# - test/ + docs (may quote values in prose)
|
||||
#
|
||||
# Run with: bash basic/.config/themes/scripts/sync-theme.sh
|
||||
@@ -27,7 +27,7 @@ matches="$(grep -rniE --include='*.conf' --include='*.css' --include='*.rasi' \
|
||||
--exclude-dir='.git' --exclude-dir='plugins' --exclude-dir='test' \
|
||||
-E "$SENTINELS" . 2>/dev/null | grep -vE '^./basic/.config/themes' \
|
||||
| grep -vE 'term/.config/(yazi/theme.toml|starship.toml)' \
|
||||
| grep -vE 'hypr/.config/rofi/themes/ltmnight.rasi' || true)"
|
||||
| grep -vE 'hypr/.config/(hypr/noctalia.lua|kitty/themes/noctalia.conf)' || true)"
|
||||
|
||||
if [[ -n "$matches" ]]; then
|
||||
echo "FAIL: hardcoded theme colors outside basic/.config/themes (and declared mirrors):"
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Central theme: catppuccin-mocha (Catppuccin Mocha), rofi palette.
|
||||
* Part of basic/.config/themes. Managed file: refresh via
|
||||
* basic/scripts/fetch-ports.sh
|
||||
* (upstream: catppuccin/rofi themes/catppuccin-mocha.rasi). */
|
||||
* {
|
||||
rosewater: #f5e0dc;
|
||||
flamingo: #f2cdcd;
|
||||
pink: #f5c2e7;
|
||||
mauve: #cba6f7;
|
||||
red: #f38ba8;
|
||||
maroon: #eba0ac;
|
||||
peach: #fab387;
|
||||
yellow: #f9e2af;
|
||||
green: #a6e3a1;
|
||||
teal: #94e2d5;
|
||||
sky: #89dceb;
|
||||
sapphire: #74c7ec;
|
||||
blue: #89b4fa;
|
||||
lavender: #b4befe;
|
||||
text: #cdd6f4;
|
||||
subtext1: #bac2de;
|
||||
subtext0: #a6adc8;
|
||||
overlay2: #9399b2;
|
||||
overlay1: #7f849c;
|
||||
overlay0: #6c7086;
|
||||
surface2: #585b70;
|
||||
surface1: #45475a;
|
||||
surface0: #313244;
|
||||
base: #1e1e2e;
|
||||
mantle: #181825;
|
||||
crust: #11111b;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
/* Central theme: catppuccin-mocha (Catppuccin Mocha).
|
||||
* Part of basic/.config/themes. Managed file: refresh via
|
||||
* basic/scripts/fetch-ports.sh (upstream: catppuccin/waybar themes/mocha.css),
|
||||
* then re-apply the role aliases below. Consumers must use this file via
|
||||
* Part of basic/.config/themes. Managed file: edit the palette here.
|
||||
* (theme.css was originally ported from catppuccin/waybar themes/mocha.css;
|
||||
* the waybar port is gone, so this file is hand-maintained now.)
|
||||
* Consumers must use this file via
|
||||
* ~/.config/themes/current/theme.css, never a private copy.
|
||||
* Role aliases (stable interface, theme-agnostic) follow the palette. */
|
||||
@define-color rosewater #f5e0dc;
|
||||
@@ -33,7 +34,7 @@
|
||||
|
||||
/* ---- Stable role interface (theme-agnostic; consumers use THESE) ----
|
||||
* NOTE: values are literal hex, NOT @references to the palette above.
|
||||
* Some parsers (wofi/waybar Gtk.CssProvider paths) silently drop
|
||||
* Some Gtk.CssProvider-based parsers silently drop
|
||||
* @define-color lines that reference another @color, which made every
|
||||
* background transparent. Keep each role in sync with its palette twin
|
||||
* (mapping below); scripts/sync-theme.sh verifies this mechanically. */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
-- Central theme interface: catppuccin-mocha (Catppuccin Mocha).
|
||||
-- Part of basic/.config/themes. Managed file: edit the palette here.
|
||||
-- Consumers (hyprland.lua, hyprlock helpers) load this via
|
||||
-- Consumers (hyprland.lua) load this via
|
||||
-- dofile(os.getenv("HOME") .. "/.config/themes/current/theme.lua")
|
||||
-- and must use the generic roles (bg/fg/accent/...) so a future
|
||||
-- non-Catppuccin theme only adds a new directory. Full palette is
|
||||
|
||||
Reference in New Issue
Block a user