Got sidetracked and accidentally customized my tty login

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 months ago

      Oh nice, I’m only just getting started and still don’t know what possible, funny how we use the same font XD

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 months ago

        Oh cool, I believe only 4bit colours are possible, you can use this table from Wikipedia and the escape sequence \e[<FG>m replacing<FG> with your chosen foreground colour. Also \e[0m to reset everything.

        funny how we use the same font XD

        Haha yeah! I noticed that too!

        I think I just used regex look aheads and look behinds to insert the colours easily.

        Edit: Oh you can change that actual TTY font to a bigger one, if the text is too small too.

  • 柊 つかさ@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    2 months ago

    I always log in to my TTY. Have you tried setting your colour scheme before login? I have a mega janky setup where I add an OpenRC sysinit service that calls setvtrgb. The first lines of the startup log aren’t affected but most of them are. That way I can log in with a colour scheme consistent with that which comes after the login.

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 months ago

      I used to have sddm but this time I forgot to install it after a clean reinstall of Arch (btw) so I use tty for a few day and I quite like it, I think I’m going to use tty login from now on

    • ColdWater@lemmy.caOP
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      you can easily make this by editing a file in /etc/issue, it’s basically just html here is some possible switches that I use and I use this website to generate the logo