6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows Terminalでさくっと背景変更

Last updated at Posted at 2019-06-25

Windows用の新ターミナルとなるWindows Terminalのプレビュー版がリリースされました。せっかくなので背景に美少女イラストとか貼ってテンション上げたいですね。

導入方法

  • ここ(Microsoft Store)からWindows Terminalアプリを入手

※入手ボタンを押しても反応しない場合:Windowsのバージョンが古い。「⚠システム要件を確認」からリンクに飛んで、May 2019 Update(1903)以降へのアップデートを実施のこと。

設定変更方法

  • 起動し、右上のプルダウンメニューから「Settings」を選択
  • JSONファイルを任意のエディタで編集

例:背景の変更

profiles.json
{
    "globals" : 
    {
        "alwaysShowTabs" : true,
        "defaultProfile" : "{}",
        "initialCols" : 120,
        "initialRows" : 30,
        "keybindings" : 
        [
            {
                "command" : "closeTab",
                "keys" : 
                [
                    "ctrl+w"
                ]
            },
            {
            
            }
        ],
        "requestedTheme" : "system",
        "showTabsInTitlebar" : true,
        "showTerminalTitleInTitlebar" : true
    },
    "profiles" : 
    [
        {
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            下のテーマから使用するnameを選択
            "colorScheme" : "Campbell",
            powershellとかcmdとかwslとか該当するところを選ぶ
            "commandline" : "powershell.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{}.png",
            "name" : "Windows PowerShell",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
            背景画像の設定をする場合は追記。Opacityは透過率。
            "backgroundImage" : "C:\\hoge\\bg.jpg",
            "backgroundImageOpacity" : 0.5,

        },
        {
         
        }
    ],
    "schemes" : 
    [
        {
            "background" : "#0C0C0C",
            "black" : "#0C0C0C",
            "blue" : "#0037DA",
            "brightBlack" : "#767676",
            "brightBlue" : "#3B78FF",
            "brightCyan" : "#61D6D6",
            "brightGreen" : "#16C60C",
            "brightPurple" : "#B4009E",
            "brightRed" : "#E74856",
            "brightWhite" : "#F2F2F2",
            "brightYellow" : "#F9F1A5",
            "cyan" : "#3A96DD",
            基本の文字色はここforegroundの値で変わる
            "foreground" : "#F2F2F2",
            "green" : "#13A10E",
            テーマ名
            "name" : "Campbell",
            "purple" : "#881798",
            "red" : "#C50F1F",
            "white" : "#CCCCCC",
            "yellow" : "#C19C00"
        },
        

Windows Terminalは目下開発中であり、ころころ仕様変更が行われているようです。アップデートにより方法が変わる可能性あり。

6
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?