added kitty config, updated fontconfig

This commit is contained in:
elenapan 2019-08-02 15:03:48 +03:00
parent 802482690d
commit a3ec5f2798
3 changed files with 177 additions and 46 deletions

View file

@ -5,10 +5,11 @@
<match target="font">
<test qual="any" name="family">
<!--Add fonts here-->
<!--Hmm multiple values cause a warning
<!--Multiple values cause a warning
but they still work-->
<string>unscii</string>
<string>unscii</string>
<!--<string>pxplus ibm vga8</string>-->
<!--<string>pxplus ibm ega8</string>-->
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
@ -18,15 +19,18 @@
<!--Disable bold for specific fonts-->
<match target="pattern">
<test qual="any" name="family">
<string>monospace</string>
<!--<string>unscii</string>-->
<string>unscii</string>
<!--<string>pxplus ibm vga8</string>-->
<!-- <string>monospace</string> -->
</test>
<test name="weight" compare="more">
<const>medium</const>
</test>
<edit name="weight" mode="assign" binding="same">
<!-- Disable bold -->
<const>medium</const>
<!-- Enable bold -->
<!-- <const>bold</const> -->
</edit>
</match>
@ -60,61 +64,23 @@
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<!--<string>tewi</string>-->
<string>Iosevka Term medium</string>
<!--<string>Knack Nerd Font</string>-->
<string>Iosevka Custom</string>
</edit>
</match>
<!--Change serif and sans-serif fonts globally-->
<!--Change serif font globally-->
<alias>
<family>serif</family>
<prefer>
<family>Source Serif Pro</family>
<!--Japanese-->
<!--<family>IPAMincho</family>-->
</prefer>
</alias>
<!--Change sans-serif font globally-->
<alias>
<family>sans-serif</family>
<prefer>
<family>Source Sans Pro</family>
<!--Japanese-->
<!--<family>Source Han Sans JP</family>-->
</prefer>
</alias>
<!-- Fuck Helvetica -->
<match>
<test name="family">
<string>Helvetica</string>
</test>
<edit binding="same" mode="assign" name="family">
<string>Source Sans Pro</string>
</edit>
</match>
<match>
<test name="family">
<string>Helvetica Neue</string>
</test>
<edit binding="same" mode="assign" name="family">
<string>Source Sans Pro</string>
</edit>
</match>
<match>
<test name="family">
<string>Arial</string>
</test>
<edit binding="same" mode="assign" name="family">
<string>Source Sans Pro</string>
</edit>
</match>
<match>
<test name="family">
<string>Roboto</string>
</test>
<edit binding="same" mode="assign" name="family">
<string>Source Sans Pro</string>
</edit>
</match>
</fontconfig>

44
config/kitty/colors.conf Normal file
View file

@ -0,0 +1,44 @@
background #323F4E
foreground #F8F8F2
cursor #F8F8F2
color0 #3D4C5F
color1 #F48FB1
color2 #A1EFD3
color3 #F1FA8C
color4 #92B6F4
color5 #BD99FF
color6 #87DFEB
color7 #F8F8F2
color8 #56687E
color9 #EE4F84
color10 #53E2AE
color11 #F1FF52
color12 #6498EF
color13 #985EFF
color14 #24D1E7
color15 #E5E5E5
# The foreground for selections
selection_foreground #BD99FF
# The background for selections
selection_background #3D4C5F
# Emacs terminal background
color17 #323F4E
# Emacs terminal modeline
color23 #3D4C5F
# The color for the border of the active window
active_border_color #F1FA8C
# The color for the border of inactive windows
inactive_border_color #56687E
url_color #6498EF
active_tab_foreground #F8F8F2
active_tab_background #24D1E7
inactive_tab_foreground #F8F8F2
inactive_tab_background #3D4C5F

121
config/kitty/kitty.conf Normal file
View file

@ -0,0 +1,121 @@
# Colors
include colors.conf
# Fonts
font_family monospace
italic_font auto
bold_font auto
bold_italic_font auto
font_size 10.0
adjust_line_height 0
adjust_column_width 0
box_drawing_scale 0.001, 1, 1.5, 2
# Cursor
cursor_shape underline
cursor_blink_interval 0
cursor_stop_blinking_after 15.0
# Scrollback
scrollback_lines 10000
scrollback_pager /usr/bin/less
wheel_scroll_multiplier 5.0
# URLs
url_style double
open_url_modifiers ctrl+shift
open_url_with firefox
copy_on_select yes
# Selection
rectangle_select_modifiers ctrl+shift
select_by_word_characters :@-./_~?&=%+#
# Mouse
click_interval 0.5
mouse_hide_wait 0
focus_follows_mouse no
# Performance
repaint_delay 20
input_delay 2
sync_to_monitor no
# Bell
visual_bell_duration 0.0
enable_audio_bell no
# Window
remember_window_size no
initial_window_width 700
initial_window_height 400
window_border_width 0
window_margin_width 0
window_padding_width 0
inactive_text_alpha 1.0
background_opacity 1.0
# Layouts
enabled_layouts *
# Tabs
tab_bar_edge bottom
tab_separator " ┇"
active_tab_font_style bold
inactive_tab_font_style normal
# Shell
shell .
close_on_child_death no
allow_remote_control yes
term xterm-256color
# Keys
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map ctrl+shift+c copy_to_clipboard
map shift+insert paste_from_selection
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+k scroll_line_up
map ctrl+shift+j scroll_line_down
map ctrl+shift+page_up scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback
map ctrl+shift+enter new_window
map ctrl+shift+n new_os_window
map ctrl+shift+w close_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window
map ctrl+shift+f move_window_forward
map ctrl+shift+b move_window_backward
map ctrl+shift+` move_window_to_top
map ctrl+shift+1 first_window
map ctrl+shift+2 second_window
map ctrl+shift+3 third_window
map ctrl+shift+4 fourth_window
map ctrl+shift+5 fifth_window
map ctrl+shift+6 sixth_window
map ctrl+shift+7 seventh_window
map ctrl+shift+8 eighth_window
map ctrl+shift+9 ninth_window
map ctrl+shift+0 tenth_window
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
map ctrl+shift+t new_tab
map ctrl+shift+q close_tab
map ctrl+shift+l next_layout
map ctrl+shift+. move_tab_forward
map ctrl+shift+, move_tab_backward
map ctrl+shift+alt+t set_tab_title
map ctrl+shift+equal increase_font_size
map ctrl+shift+minus decrease_font_size
map ctrl+shift+backspace restore_font_size
map ctrl+shift+f6 set_font_size 16.0