Skip to content

Instantly share code, notes, and snippets.

@RomelSan
Last active April 17, 2023 09:24
Show Gist options
  • Select an option

  • Save RomelSan/aa05d10982bd516bc6143a2a20af3ea7 to your computer and use it in GitHub Desktop.

Select an option

Save RomelSan/aa05d10982bd516bc6143a2a20af3ea7 to your computer and use it in GitHub Desktop.

Revisions

  1. RomelSan revised this gist Nov 25, 2020. 1 changed file with 15 additions and 21 deletions.
    36 changes: 15 additions & 21 deletions kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -14,32 +14,18 @@
    `Caskaydia Cove Nerd Font Complete Windows Compatible.ttf`
    https://github.com/ryanoasis/nerd-fonts/releases

    ## Core theme via GUI
    Go to Window->Colours

    Start off with default colours and do this:
    * Default Foreground: 255/255/255
    * Default Background: 51/51/51
    * ANSI Black: 77/77/77
    * ANSI Black Bold: 134/134/134
    * ANSI Green: 152/251/152
    * ANSI Yellow: 240/230/140
    * ANSI Blue: 50/164/218
    * ANSI Blue Bold 135/206/235
    * ANSI Magenta: 255/0/255
    * ANSI Cyan: 0/255/255
    * ANSI Cyan Bold: 255/215/0
    * ANSI White: 255/255/255

    TIP: to make your default sessions take this in, Load the `Default Settings`
    then change its settings using below configurations and then save the session again as
    ## Default Sessions
    TIP: to make your default sessions, Load the `Default Settings`
    then change its settings using above configurations and then save the session again as
    `Default Settings` (just make sure to not put any host specific things like
    hostname, port, username, password – leave those as default)

    ## Editing session file
    Also you can edit the session file directly.
    Edit the session file directly.
    Kitty portable store sessions inside `Sessions` folder.
    Core theme colors:
    If you are not using the portable version then build a `reg` file. Check themes txt files.

    ### Core theme colors
    ```
    Colour33\187,187,187\
    Colour32\0,0,0\
    @@ -113,3 +99,11 @@ mc
    htop
    top
    ```

    ---

    ## Test powerline or nerd font icons
    `echo -e "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"`

    ## Troubleshoot Font
    If you are using putty or kitty and you don't see the font then you must install/use the "Mono" fonts.
  2. RomelSan revised this gist Nov 7, 2020. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,19 @@
    # Kitty portable recommended settings
    1. Terminal --> Features --> Disable Application Keypad mode
    2. Connection --> Data --> set terminal-type string to `linux`
    3. Window -> Appearance set check for "Allow selection of variable pitch fonts"
    4. Window -> Colours set check for "Selected text is a different colour"
    5. Use font `Cascadia Code PL` included with "Windows Terminal" app or download from github
    2. Terminal --> Keyboard --> The Function keys and keypad --> Linux
    3. Connection --> Data --> set terminal-type string to `linux`
    4. Window -> Appearance set check for "Allow selection of variable pitch fonts"
    5. Window -> Colours set check for "Selected text is a different colour"
    6. Use font `Cascadia Code PL` included with "Windows Terminal" app or download from github
    File to install: `CascadiaCodePL.ttf`
    https://github.com/microsoft/cascadia-code
    6. If you are using oh my zsh then you can use the fonts from `nerdfonts.com`
    7. If you are using oh my zsh then you can use the fonts from `nerdfonts.com`
    My favorites are: `SourceCodePro.zip` and `CascadiaCode.zip`
    The fonts to install are:
    `Sauce Code Pro Nerd Font Complete Windows Compatible.ttf`
    `Caskaydia Cove Nerd Font Complete Windows Compatible.ttf`
    https://github.com/ryanoasis/nerd-fonts/releases


    ## Core theme via GUI
    Go to Window->Colours

  3. RomelSan revised this gist Nov 6, 2020. 1 changed file with 21 additions and 12 deletions.
    33 changes: 21 additions & 12 deletions kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -11,25 +11,25 @@
    The fonts to install are:
    `Sauce Code Pro Nerd Font Complete Windows Compatible.ttf`
    `Caskaydia Cove Nerd Font Complete Windows Compatible.ttf`

    https://github.com/ryanoasis/nerd-fonts/releases


    ## Desert theme via GUI
    ## Core theme via GUI
    Go to Window->Colours

    Start off with default colours and do this:
    * Default Foreground: 255/255/255
    * Default Background: 51/51/51
    * ANSI Black: 77/77/77
    * ANSI Black Bold: 134/134/134
    * ANSI Green: 152/251/152
    * ANSI Yellow: 240/230/140
    * ANSI Blue: 205/133/63
    * ANSI Blue: 50/164/218
    * ANSI Blue Bold 135/206/235
    * ANSI Magenta: 255/222/173 or 205/92/92 (Colour16)
    * ANSI Cyan: 255/160/160
    * ANSI Magenta: 255/0/255
    * ANSI Cyan: 0/255/255
    * ANSI Cyan Bold: 255/215/0
    * ANSI White: 245/222/179
    * ANSI White: 255/255/255

    TIP: to make your default sessions take this in, Load the `Default Settings`
    then change its settings using below configurations and then save the session again as
    @@ -39,7 +39,7 @@ hostname, port, username, password – leave those as default)
    ## Editing session file
    Also you can edit the session file directly.
    Kitty portable store sessions inside `Sessions` folder.
    Desert theme colors:
    Core theme colors:
    ```
    Colour33\187,187,187\
    Colour32\0,0,0\
    @@ -54,13 +54,13 @@ Colour24\0,0,0\
    Colour23\0,0,0\
    Colour22\187,187,187\
    Colour21\255,255,255\
    Colour20\245,222,179\
    Colour20\255,255,255\
    Colour19\255,215,0\
    Colour18\255,160,160\
    Colour18\0,255,255\
    Colour17\255,85,255\
    Colour16\255,222,173\
    Colour16\255,0,255\
    Colour15\135,206,235\
    Colour14\205,133,63\
    Colour14\50,164,218\
    Colour13\255,255,85\
    Colour12\240,230,140\
    Colour11\85,255,85\
    @@ -71,7 +71,7 @@ Colour7\85,85,85\
    Colour6\77,77,77\
    Colour5\0,255,0\
    Colour4\0,0,0\
    Colour3\85,85,85\
    Colour3\134,134,134\
    Colour2\51,51,51\
    Colour1\255,255,255\
    Colour0\255,255,255\
    @@ -104,3 +104,12 @@ Colour19 ANSI 14 Color # ANSI Cyan Bold
    Colour20 ANSI 7 Color # ANSI White
    Colour21 ANSI 15 Color # ANSI White Bold
    ```

    ## Test colors in SSH
    Test colors by looking at results in some software:
    ```
    whiptail --yesno Hello 10 50 --title TitleBox --backtitle BackTitle
    mc
    htop
    top
    ```
  4. RomelSan revised this gist Sep 29, 2020. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,17 @@
    2. Connection --> Data --> set terminal-type string to `linux`
    3. Window -> Appearance set check for "Allow selection of variable pitch fonts"
    4. Window -> Colours set check for "Selected text is a different colour"
    5. Use font `Cascadia Code PL` included with "Windows Terminal" app or download from:
    5. Use font `Cascadia Code PL` included with "Windows Terminal" app or download from github
    File to install: `CascadiaCodePL.ttf`
    https://github.com/microsoft/cascadia-code
    6. If you are using oh my zsh then you can use the fonts from `nerdfonts.com`
    My favorites are: `SourceCodePro.zip` and `CascadiaCode.zip`
    The fonts to install are:
    `Sauce Code Pro Nerd Font Complete Windows Compatible.ttf`
    `Caskaydia Cove Nerd Font Complete Windows Compatible.ttf`

    https://github.com/ryanoasis/nerd-fonts/releases


    ## Desert theme via GUI
    Go to Window->Colours
    @@ -73,7 +82,7 @@ Colour0\255,255,255\
    # PuTTY CFG # ANSI Relation # PuTTY GUI
    Colour0 Foreground Color # Default Foreground
    Colour1 Bold Color # Default Foreground
    Colour1 Bold Color # Default Foreground
    Colour2 Background Color # Default Background
    Colour3 Background Color # Default Foreground
    Colour4 Cursor Color # Cursor Text
  5. RomelSan revised this gist Sep 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -73,7 +73,7 @@ Colour0\255,255,255\
    # PuTTY CFG # ANSI Relation # PuTTY GUI
    Colour0 Foreground Color # Default Foreground
    Colour1 Bold Color # Default Foreground
    Colour1 Bold Color # Default Foreground
    Colour2 Background Color # Default Background
    Colour3 Background Color # Default Foreground
    Colour4 Cursor Color # Cursor Text
  6. RomelSan created this gist Sep 29, 2020.
    97 changes: 97 additions & 0 deletions kitty-theme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,97 @@
    # Kitty portable recommended settings
    1. Terminal --> Features --> Disable Application Keypad mode
    2. Connection --> Data --> set terminal-type string to `linux`
    3. Window -> Appearance set check for "Allow selection of variable pitch fonts"
    4. Window -> Colours set check for "Selected text is a different colour"
    5. Use font `Cascadia Code PL` included with "Windows Terminal" app or download from:
    https://github.com/microsoft/cascadia-code

    ## Desert theme via GUI
    Go to Window->Colours

    Start off with default colours and do this:
    * Default Foreground: 255/255/255
    * Default Background: 51/51/51
    * ANSI Black: 77/77/77
    * ANSI Green: 152/251/152
    * ANSI Yellow: 240/230/140
    * ANSI Blue: 205/133/63
    * ANSI Blue Bold 135/206/235
    * ANSI Magenta: 255/222/173 or 205/92/92 (Colour16)
    * ANSI Cyan: 255/160/160
    * ANSI Cyan Bold: 255/215/0
    * ANSI White: 245/222/179

    TIP: to make your default sessions take this in, Load the `Default Settings`
    then change its settings using below configurations and then save the session again as
    `Default Settings` (just make sure to not put any host specific things like
    hostname, port, username, password – leave those as default)

    ## Editing session file
    Also you can edit the session file directly.
    Kitty portable store sessions inside `Sessions` folder.
    Desert theme colors:
    ```
    Colour33\187,187,187\
    Colour32\0,0,0\
    Colour31\187,187,187\
    Colour30\0,187,187\
    Colour29\187,0,187\
    Colour28\0,0,187\
    Colour27\187,187,0\
    Colour26\0,187,0\
    Colour25\187,0,0\
    Colour24\0,0,0\
    Colour23\0,0,0\
    Colour22\187,187,187\
    Colour21\255,255,255\
    Colour20\245,222,179\
    Colour19\255,215,0\
    Colour18\255,160,160\
    Colour17\255,85,255\
    Colour16\255,222,173\
    Colour15\135,206,235\
    Colour14\205,133,63\
    Colour13\255,255,85\
    Colour12\240,230,140\
    Colour11\85,255,85\
    Colour10\152,251,152\
    Colour9\255,85,85\
    Colour8\187,0,0\
    Colour7\85,85,85\
    Colour6\77,77,77\
    Colour5\0,255,0\
    Colour4\0,0,0\
    Colour3\85,85,85\
    Colour2\51,51,51\
    Colour1\255,255,255\
    Colour0\255,255,255\
    ```

    ## Color maps reference
    ```
    # PuTTY CFG # ANSI Relation # PuTTY GUI
    Colour0 Foreground Color # Default Foreground
    Colour1 Bold Color # Default Foreground
    Colour2 Background Color # Default Background
    Colour3 Background Color # Default Foreground
    Colour4 Cursor Color # Cursor Text
    Colour5 Cursor Text Color # Cursor Color
    Colour6 ANSI 0 Color # ANSI Black
    Colour7 ANSI 8 Color # ANSI Black Bold
    Colour8 ANSI 1 Color # ANSI Red
    Colour9 ANSI 9 Color # ANSI Red Bold
    Colour10 ANSI 2 Color # ANSI Green
    Colour11 ANSI 10 Color # ANSI Green Bold
    Colour12 ANSI 3 Color # ANSI Yellow
    Colour13 ANSI 11 Color # ANSI Yellow Bold
    Colour14 ANSI 4 Color # ANSI Blue
    Colour15 ANSI 12 Color # ANSI Blue Bold
    Colour16 ANSI 5 Color # ANSI Magenta
    Colour17 ANSI 13 Color # ANSI Magenta Bold
    Colour18 ANSI 6 Color # ANSI Cyan
    Colour19 ANSI 14 Color # ANSI Cyan Bold
    Colour20 ANSI 7 Color # ANSI White
    Colour21 ANSI 15 Color # ANSI White Bold
    ```