mirror of
https://github.com/outbackdingo/hyprcosmic.git
synced 2026-08-25 14:53:21 +00:00
Ship the per-user config, and recommend a font that exists
Two things anyone installing v0.1.0 would have hit. The per-user files were listed in install-assets.sh as installed 'by hand', which meant a clean machine logged in to a bare compositor with nothing drawn on it and no binding that opened anything. They are now installed as a skeleton under share/hyprcosmic/skel, laid out exactly as they sit under ~/.config, and the session copies what is missing at login. The audit still forces every file under config/ into exactly one list, so this could not be quietly skipped again. theme.css, theme.rasi and local.rasi are new and deliberately empty. They are the relative @imports of style.css and config.rasi, and a missing @import is fatal to both consumers rather than a warning they skip: GTK fails the whole stylesheet, and rofi reports the error in place of the launcher. Every colour they could define already has a default from palette.css and palette.rasi, so empty is the correct content until import-theme writes them. style.css's own header has promised 'a sibling file we create at install time' since it was written; now there is one. Recommends: nerd-fonts named a package that is in no Fedora repository, so it could never be satisfied and the font never arrived -- silently, which is what Recommends does when it cannot resolve. Fedora has no Nerd Font at all: texlive-inconsolata-nerd-font lands under texmf-dist and kitty's SymbolsNerdFont under /usr/lib64/kitty, and fontconfig scans neither. Recommend font(notosansmono) instead, the fallback rules.rasi already names, and say in the README how to install the glyphs by hand.
This commit is contained in:
@@ -81,8 +81,22 @@ Requires: rofi-wayland
|
||||
# unsatisfiable dependency is not.
|
||||
Recommends: awww
|
||||
|
||||
# Nerd Font glyphs are most of what the bar draws.
|
||||
Recommends: nerd-fonts
|
||||
# Nerd Font glyphs are most of what the bar and the launcher draw, and Fedora
|
||||
# has nothing that provides them. This line used to say `nerd-fonts`, which is
|
||||
# not a package in any Fedora repository -- so it could never be satisfied, and
|
||||
# the fonts never arrived, silently, because that is what Recommends does when
|
||||
# it cannot resolve. The two patched fonts Fedora does ship are no help either:
|
||||
# texlive-inconsolata-nerd-font lands under texmf-dist and kitty's
|
||||
# SymbolsNerdFont under /usr/lib64/kitty, and fontconfig scans neither path.
|
||||
#
|
||||
# So recommend the fallback the configuration actually names. rules.rasi asks
|
||||
# for "JetBrainsMono Nerd Font, Noto Sans Mono": this is the second of the two.
|
||||
# It cannot draw a single glyph, but it decides what the text is set in instead
|
||||
# of leaving that to whatever fontconfig happens to pick. A virtual provide
|
||||
# rather than a name, because two packages carry it and either will do.
|
||||
#
|
||||
# The glyphs themselves have to be installed by hand. See README.md.
|
||||
Recommends: font(notosansmono)
|
||||
|
||||
%description
|
||||
HyprCosmic is a fork of the COSMIC desktop that takes its configuration in
|
||||
|
||||
Reference in New Issue
Block a user