From b208f19a8f9694262c45379d38a49414c71f9ae6 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Tue, 12 Jul 2022 04:25:05 +0200 Subject: [PATCH] [Kitty] Update theme settings Also remove unused comments --- .config/kitty/current-theme.conf | 50 ++++++++ .config/kitty/kitty.conf | 193 ++----------------------------- 2 files changed, 58 insertions(+), 185 deletions(-) create mode 100644 .config/kitty/current-theme.conf diff --git a/.config/kitty/current-theme.conf b/.config/kitty/current-theme.conf new file mode 100644 index 0000000..f48ac3d --- /dev/null +++ b/.config/kitty/current-theme.conf @@ -0,0 +1,50 @@ +# vim:ft=kitty +## name: Nord +## author: Connor Holyday +## license: MIT +## upstream: https://raw.githubusercontent.com/connorholyday/nord-kitty/master/nord.conf +## blurb: An arctic, north-bluish clean and elegant Kitty theme. + +# Nord Colorscheme for Kitty +# Based on: +# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192 +# - https://github.com/arcticicestudio/nord-hyper + +foreground #D8DEE9 +background #2E3440 +selection_foreground #000000 +selection_background #FFFACD +url_color #0087BD +cursor #81A1C1 + +# black +color0 #3B4252 +color8 #4C566A + +# red +color1 #BF616A +color9 #BF616A + +# green +color2 #A3BE8C +color10 #A3BE8C + +# yellow +color3 #EBCB8B +color11 #EBCB8B + +# blue +color4 #81A1C1 +color12 #81A1C1 + +# magenta +color5 #B48EAD +color13 #B48EAD + +# cyan +color6 #88C0D0 +color14 #8FBCBB + +# white +color7 #E5E9F0 +color15 #ECEFF4 diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 873aaa6..e420778 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -151,12 +151,6 @@ box_drawing_scale 0.001, 1, 1.5, 2 #: Cursor customization {{{ -cursor #D8DEE9 - -#: Default cursor color - -cursor_text_color #2E3440 - #: Choose the color of text under the cursor. If you want it rendered #: with the background color of the cell underneath instead, use the #: special keyword: background @@ -244,8 +238,6 @@ mouse_hide_wait 3.0 #: typing text. Disabled by default on macOS as getting it to work #: robustly with the ever-changing sea of bugs that is Cocoa is too #: much effort. - -url_color #b48ead url_style curly #: The color and style for highlighting URLs on mouse-over. url_style @@ -475,20 +467,6 @@ placement_strategy center #: placed centrally. A value of top-left means the padding will be on #: only the bottom and right edges. -active_border_color #434C5E - -#: The color for the border of the active window. Set this to none to -#: not draw borders around the active window. - -inactive_border_color #D8DEE9 - -#: The color for the border of inactive windows - -bell_border_color #BF616A - -#: The color for the border of inactive windows in which a bell has -#: occurred - inactive_text_alpha 1.0 #: Fade the text in inactive windows by the specified amount (a number @@ -605,30 +583,13 @@ active_tab_title_template none #: Template to use for active tabs, if not specified falls back to #: tab_title_template. - -active_tab_foreground #000 -active_tab_background #eee active_tab_font_style bold-italic -inactive_tab_foreground #444 -inactive_tab_background #999 inactive_tab_font_style normal -#: Tab bar colors and styles - -tab_bar_background none - -#: Background color for the tab bar. Defaults to using the terminal -#: background color. - #: }}} #: Color scheme {{{ -foreground #d8dee9 -background #2e3440 - -#: The foreground and background colors - background_opacity 0.7 #: The opacity of the background. A number between 0 and 1, where 1 is @@ -667,97 +628,17 @@ dynamic_background_opacity yes #: keyboard shortcuts (increase_background_opacity and #: decrease_background_opacity) or the remote control facility. -background_tint 0.0 - #: How much to tint the background image by the background color. The #: tint is applied only under the text area, not margin/borders. Makes #: it easier to read the text. Tinting is done using the current #: background color for each window. This setting applies only if #: background_opacity is set and transparent windows are supported or #: background_image is set. - -dim_opacity 0.75 +background_tint 0.0 #: How much to dim text that has the DIM/FAINT attribute set. One #: means no dimming and zero means fully dimmed (i.e. invisible). - -selection_foreground #3b4252 - -#: The foreground for text selected with the mouse. A value of none -#: means to leave the color unchanged. - -selection_background #e5e9f0 - -#: The background for text selected with the mouse. - - -#: The 256 terminal colors. There are 8 basic colors, each color has a -#: dull and bright version, for the first 16 colors. You can set the -#: remaining 240 colors as color16 to color255. - -color0 #3B4252 -color8 #4C566A - -#: black - -color1 #BF616A -color9 #BF616A - -#: red - -color2 #A3BE8C -color10 #A3BE8C - -#: green - -color3 #EBCB8B -color11 #EBCB8B - -#: yellow - -color4 #81A1C1 -color12 #81A1C1 - -#: blue - -color5 #B48EAD -color13 #B48EAD - -#: magenta - -color6 #88C0D0 -color14 #8FBCBB - -#: cyan - -color7 #E5E9F0 -color15 #ECEFF4 - -#: white - -mark1_foreground black - -#: Color for marks of type 1 - -mark1_background #88C0D0 - -#: Color for marks of type 1 (light steel blue) - -mark2_foreground black - -#: Color for marks of type 2 - -mark2_background #D8DEE9 - -#: Color for marks of type 1 (beige) - -mark3_foreground black - -#: Color for marks of type 3 - -mark3_background #B48EAD - -#: Color for marks of type 1 (violet) +dim_opacity 0.75 #: }}} @@ -880,70 +761,6 @@ term xterm-kitty #: OS specific tweaks {{{ -macos_titlebar_color system - -#: Change the color of the kitty window's titlebar on macOS. A value -#: of system means to use the default system color, a value of -#: background means to use the background color of the currently -#: active window and finally you can use an arbitrary color, such as -#: #12af59 or red. WARNING: This option works by using a hack, as -#: there is no proper Cocoa API for it. It sets the background color -#: of the entire window and makes the titlebar transparent. As such it -#: is incompatible with background_opacity. If you want to use both, -#: you are probably better off just hiding the titlebar with -#: hide_window_decorations. - -macos_option_as_alt no - -#: Use the option key as an alt key. With this set to no, kitty will -#: use the macOS native Option+Key = unicode character behavior. This -#: will break any Alt+key keyboard shortcuts in your terminal -#: programs, but you can use the macOS unicode input technique. You -#: can use the values: left, right, or both to use only the left, -#: right or both Option keys as Alt, instead. - -macos_hide_from_tasks no - -#: Hide the kitty window from running tasks (Option+Tab) on macOS. - -macos_quit_when_last_window_closed no - -#: Have kitty quit when all the top-level windows are closed. By -#: default, kitty will stay running, even with no open windows, as is -#: the expected behavior on macOS. - -macos_window_resizable yes - -#: Disable this if you want kitty top-level (OS) windows to not be -#: resizable on macOS. - -macos_thicken_font 0 - -#: Draw an extra border around the font with the given width, to -#: increase legibility at small font sizes. For example, a value of -#: 0.75 will result in rendering that looks similar to sub-pixel -#: antialiasing at common font sizes. - -macos_traditional_fullscreen no - -#: Use the traditional full-screen transition, that is faster, but -#: less pretty. - -macos_show_window_title_in all - -#: Show or hide the window title in the macOS window or menu-bar. A -#: value of window will show the title of the currently active window -#: at the top of the macOS window. A value of menubar will show the -#: title of the currently active window in the macOS menu-bar, making -#: use of otherwise wasted space. all will show the title everywhere -#: and none hides the title in the window and the menu-bar. - -macos_custom_beam_cursor no - -#: Enable/disable custom mouse cursor for macOS that is easier to see -#: on both light and dark backgrounds. WARNING: this might make your -#: mouse cursor invisible on dual GPU machines. - linux_display_server auto #: Choose between Wayland and X11 backends. By default, an appropriate @@ -1314,3 +1131,9 @@ map kitty_mod+delete clear_terminal reset active #: }}} # }}} + + +# BEGIN_KITTY_THEME +# Nord +include current-theme.conf +# END_KITTY_THEME \ No newline at end of file