Skip Navigation

Posts
147
Comments
259
Joined
3 yr. ago

  • I've never had a Statamic site myself, didn't know about it till this thread. I like site generators but don't want to invest energy in ones that don't handle colors very well. I don't want to have to override colors, either as a user or developer, though I often do. For a an SSG anyway I want to be able to trust the tool to handle legibility.

    I'm also terrible with HTML and CSS.

  • No. In addition to browsers' prefers-dark-mode setting, there is also the fallback foreground and background color choice, used whenever a website does not specify a foreground or background color. One common case is when viewing a plain unstyled site or txt file.

    A dark-mode preferring user might choose for these fallbacks a light foreground and dark background. The problem is then that some designers will carelessly specify either the foreground or background color (and not both), assuming that their choice will happen to have good contrast with every user's browser preferences.

    More low contrast examples from the Statamic docs:

    In Firefox's preferences page those settings are accessed with the "Manage Colors" button just below dark-mode selection, and look like this:

    Notice that I am not overriding any colors specified by the page.

  • The main site isn't made with Statamic?

    Anyway the docs pages fail in certain parts, too, anyway:

  • I love Arch but you may also be interested to try Siduction for similar benefits with less change from what you know (it's still Debian).

  • FWIW Statamic (like many sites) fails my basic "is everything on the main site legible for dark-mode preferring users?" test:

  • When you try to activate the Cube effect with fewer than 3 virtual desktops, it will now tell you why it’s not working

    Aw man. I used to use a 2 sided "cube" with compiz, just flipped the desktop around to the back side.

  • Thanks!

    1. What's that driving game?
    2. It makes me nervous that they call X11 legacy when AFAIK they may never implement window shading on Wayland.
  • Yeah, since broot is a full featured file navigator and operator, you can get anywhere once it's launched. I have alt+up bound to go up a directory, but there are other ways to get around as well.

    Broot supports fish out of the box, and you can use its default fish launcher function to change your folder (alt+enter quits broot then performs a cd) or insert a path (the broot command pp quits broot then prints the path, like fzf).

    I never learned fish scripting, but if anyone here has they may try to port my Zsh functions, especially to get path completion for partially typed paths. If you're doing that and have questions about the broot config side of the equation, I'm happy to try to help.

  • FWIW broot is a great fuzzy finding file tree tool that can be used similarly (much better for the task IMO), with a little configuration.

  • That looks cool, thanks!

  • You might like to use aconfmgr to track and prune your system state.

  • ~How *dare* you?~

    Thanks!

  •  bash
        
    grep -E '(^[^B]*$|A)'
    
      

    EDIT: Whoops, I meant to make this a top-level comment.

    EDIT 2: On one client it looked like a nested comment and on this other client it looks top level and now I'm a confused old man.

  • Konsole is excellent. Wezterm is even better, and can pretty much do everything, everywhere.

    There's no need to bother with the others if you like either of these.

  • I don't know what the install process is like for them, but FYI Siduction offers one image that is minimal but with X11, and one minimal without it.

    • Siduction
    • openSUSE
  • It's unmatched for some of the things it does and sites it supports, but I think it's a nightmare for any distro or package maintainer. It wants to manage its own installation and updates, at the user level, pulling in who knows what code or binaries.

    I think that makes it mechanically hard to handle, verify, or trust.

  • There are many advantages relative to bash, especially much better array handling, and comprehensive globbing and expansion expressions. You can reduce your reliance on external tools, which may have multiple alternative implementations (a source of unpredictability).

    Some defenses are written up at

    https://www.arp242.net/why-zsh.html

    (not my post)

    For me, fish's differences from older shells count against it without offering any compelling benefits.

    Newer shells like nushell and oils/ysh are exciting and have a lot going on, but are not mature or familiar.