[{"content":" This guide will show you how I gave my Powershell and prompt an e621 theme. It is based on the Oh My Posh prompt theme engine and Chris Titus\u0026rsquo; Ultimate Powershell Experience. The shell621 prompt theme is my own modification of the OMP free-ukraine theme.\nOh My Posh is cross-platform, so it is possible to adapt the below guide to macOS and Linux shells (without the use of winget and the profile setup script).\nPrerequisite: make sure winget is installed. Execute the following command in an elevated PowerShell window to install winget: irm asheroto.com/winget | iex Execute the following command in an elevated PowerShell window to install the PowerShell profile: irm \u0026#34;https://vhs.dog/shell621/setup.ps1\u0026#34; | iex This script will handle installing all the neccesary components (Oh my Posh and nerd fonts) and generate a new shell profile script.\nOpen up a new Powershell window. It may look a little broken like this: Let\u0026rsquo;s setup the shell colors first. Open Settings by pressing Ctrl+,. Go to Color schemes in the left pane menu. Click on Open JSON file at the bottom-left of the window. Find the \u0026quot;schemes\u0026quot; section. Add the following color definitions after the last } before \u0026quot;themes\u0026quot;. , { \u0026#34;background\u0026#34;: \u0026#34;#152F56\u0026#34;, \u0026#34;black\u0026#34;: \u0026#34;#0C0C0C\u0026#34;, \u0026#34;blue\u0026#34;: \u0026#34;#0037DA\u0026#34;, \u0026#34;brightBlack\u0026#34;: \u0026#34;#767676\u0026#34;, \u0026#34;brightBlue\u0026#34;: \u0026#34;#3B78FF\u0026#34;, \u0026#34;brightCyan\u0026#34;: \u0026#34;#B4C7D9\u0026#34;, \u0026#34;brightGreen\u0026#34;: \u0026#34;#2BFF2B\u0026#34;, \u0026#34;brightPurple\u0026#34;: \u0026#34;#DD00DD\u0026#34;, \u0026#34;brightRed\u0026#34;: \u0026#34;#F6B295\u0026#34;, \u0026#34;brightWhite\u0026#34;: \u0026#34;#F2F2F2\u0026#34;, \u0026#34;brightYellow\u0026#34;: \u0026#34;#FBD67F\u0026#34;, \u0026#34;cursorColor\u0026#34;: \u0026#34;#FFFFFF\u0026#34;, \u0026#34;cyan\u0026#34;: \u0026#34;#2E76B4\u0026#34;, \u0026#34;foreground\u0026#34;: \u0026#34;#B4C7D9\u0026#34;, \u0026#34;green\u0026#34;: \u0026#34;#00AA00\u0026#34;, \u0026#34;name\u0026#34;: \u0026#34;shell621\u0026#34;, \u0026#34;purple\u0026#34;: \u0026#34;#FF5EFF\u0026#34;, \u0026#34;red\u0026#34;: \u0026#34;#ED5D1F\u0026#34;, \u0026#34;selectionBackground\u0026#34;: \u0026#34;#FFFFCC\u0026#34;, \u0026#34;white\u0026#34;: \u0026#34;#CCCCCC\u0026#34;, \u0026#34;yellow\u0026#34;: \u0026#34;#F2AC08\u0026#34; } It should look like this: Save and close settings.json You can now select the shell621 color scheme. Click on it, click on Set as default and click Save Let\u0026rsquo;s fix the broken font next. In the menu on the left, under the profiles section, click on Defaults (or just the shell you\u0026rsquo;re using). In the menu on the right, under Additional settings, click on Appearance. In the Font face dropdown menu, select either of the CaskaydiaCove Nerd Fonts. Next we\u0026rsquo;ll set the background image. Save the following image anywhere on your drive. hexgrid.png Alt+click to save\nScroll down to the Background image section, expand Background image path and browse for hexgrid.png Click Save. (You can also set window transparency on this page if you want.)\nYou can now close the Settings menu and the color scheme and font should be active. The theme is all setup!\nOptional: The profile script is initally setup to load the prompt theme from the Internet. If you\u0026rsquo;d prefer to load it offline, execute the following command in your shell window:\n$PROFILE This will display the location of your shell profile script. Download the following JSON file and save it in the same directory as your shell profile as output by the $PROFILE variable.\nshell621.json Alt+click to save\nOpen the Microsoft.PowerShell_profile.ps1 file displayed by the $PROFILE variable.\nAt the end of the file, under the ## Final Line to set prompt section, replace https://vhs.dog/shell621/shell621.json with the full local path of the shell621.json file, in apostrophes.\nAll done! If you want to display system info with OS ASCII art, install neofetch with winget:\nwinget install neofetch ","date":"2024-05-05T18:08:24-05:00","image":"https://vhs.dog/shell621/shell621_hu66129b19758e6e04b76af7b1478862cc_636729_120x120_fill_box_smart1_3.png","permalink":"https://vhs.dog/shell621/","title":"shell621"},{"content":" ","date":"0001-01-01T00:00:00Z","image":"https://vhs.dog/blog/post/2024/03/13/under-construction/spazztv_hue0f1a11a69a2b33b205128928c898353_942758_120x120_fill_box_smart1_3.png","permalink":"https://vhs.dog/blog/post/2024/03/13/under-construction/","title":"welcome to my website"}]