Skip to content

Instantly share code, notes, and snippets.

@crazy4pi314
Last active January 30, 2024 06:22
Show Gist options
  • Save crazy4pi314/c0874aef9a34e35f6ad07cc163662e51 to your computer and use it in GitHub Desktop.
Save crazy4pi314/c0874aef9a34e35f6ad07cc163662e51 to your computer and use it in GitHub Desktop.

πŸ’œ FairyShell v 0.1 πŸ’œ

A Windows Terminal Theme based on @sailorhg's Fairy Floss theme

N.B. This uses Powershell as my shell but you can change this by changing the commandline value in the profile below!

Instructions:

Optional pre-setup

  • If you want the font I use here install instructions can be found here else Consolas is a fine replacement untill Cascadia is out πŸ’–
  • If you want the Fairy Floss graphic in the background, you can get it from here and save it to the directory where your profile.json file is stored in the next step.

Setup FairyShell

  • Open your profile.json file for your terminal (ctrl + , or a dropdown from the plus button in the title bar).
  • Add the following profile (the bit in curly braces) to the list for the key profiles:
    "profiles" : 
    [
        {
            "acrylicOpacity" : 0.64999997615814209,
            "closeOnExit" : true,
            "colorScheme" : "Fairy Floss",
            "commandline" : "powershell.exe",
            "cursorColor" : "#F8F8F0",
            "cursorShape" : "bar",
            "fontFace" : "Fira Mono for Powerline",
            "fontSize" : 14,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "FairyShell",
            "tabTitle": "FairyShell",
            "padding" : "5, 0, 0, 0",
            "snapOnInput" : true,
            "backgroundImageOpacity" : 0.15,
            "backgroundImageAlignment" : "topLeft",
            "backgroundImageStretchMode" : "uniformToFill",
            "backgroundImage" : "ms-appdata:///roaming/fairy_floss_title.png",
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        }
    ]
  • Add the following color scheme (the bit in curly braces) to the list for the key "schemes":
   "schemes" : 
   [
       {
           "background" : "#5A5475",
           "black" : "#464258",
           "blue" : "#6C71C4",
           "brightBlack" : "#C19FD8",
           "brightBlue" : "#6796E6",
           "brightCyan" : "#C2FFDF",
           "brightGreen" : "#FFB8D1",
           "brightPurple" : "#AE81FF",
           "brightRed" : "#F44747",
           "brightWhite" : "#F8F8F0",
           "brightYellow" : "#FFF352",
           "cyan" : "#AFECAD",
           "foreground" : "#F8F8F0",
           "green" : "#AD5877",
           "name" : "Fairy Floss",
           "purple" : "#B267E6",
           "red" : "#FF857F",
           "white" : "#CCCCCC",
           "yellow" : "#E6C000"
       }
   ]
  • Save your profile.json and you should see the terminal LIVE UPDATE (if you set this to your default profile) else open a new tab in this profile and then you will have Fairy Floss goodness in your terminal πŸ­πŸ§šβ€β™€οΈπŸ’—πŸ’™πŸ’œ

Feedback welcome!

If you have any ideas for how to make this better/want to share how you are using it, hit me up on twitter @crazy4pi314!

Thanks again to the amazing Windows Terminal team for working so hard on such an awesome projectπŸ’–πŸŽ‰

@anaisbetts
Copy link

anaisbetts commented Aug 12, 2019

This is great! I noticed thatbackgroundImageStrechMode should be backgroundImageStretchMode in the top JSON blob (missing the 't' in stretch)

@crazy4pi314
Copy link
Author

Ah thanks! Good catch :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment