From f3835f3a3811ff21edd31982724ccde1189f5e92 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 26 May 2020 18:47:36 +0200 Subject: [PATCH] Refactor kitty configurations --- bashrc | 2 +- kitty.conf | 31 +++---------------------------- kitty_dark.conf | 29 +++++++++++++++++++++++++++++ kitty_light.conf | 29 +++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 29 deletions(-) create mode 100644 kitty_dark.conf create mode 100644 kitty_light.conf diff --git a/bashrc b/bashrc index 5875801..dd4b75c 100644 --- a/bashrc +++ b/bashrc @@ -63,7 +63,7 @@ export PS1nogit='\[\033[00;34m\]┌─╼ \033[00;31m$(rlevel)\[\033[01;35m\]\u\ export PS1git='\[\033[00;37m\]$(numjobs ⚒)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;36m\]$(gitpath) \[\033[00;36m\]$(rlevel 🥆 ·) \[\033[00;34m\]↳ \[\033[00m\]' -export PS1gitlong='\[\033[00;37m\]$(numjobs ⚒ ·)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;37m\]$(git log --oneline --no-decorate -1 2>/dev/null) +export PS1gitlong='\[\033[00;37m\]$(numjobs ⚒ ·)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;30m\]$(git log --oneline --no-decorate -1 2>/dev/null) \[\033[00;36m\]$(rlevel 🥆 ·)\[\033[00;36m\]$(gitpath)\[\033[00;31m\]» \[\033[00m\]' prompt() { diff --git a/kitty.conf b/kitty.conf index ea5c55b..183d625 100644 --- a/kitty.conf +++ b/kitty.conf @@ -1,36 +1,11 @@ font_family Hack -font_size 13 +font_size 14 update_check_interval 0 -foreground #ffffff -background #2F2F2F - dynamic_background_opacity yes background_opacity 1.0 -# Black -color0 #2E3436 -color8 #434343 -# Red -color1 #BF2A40 -color9 #DD636A -# Green -color2 #5BA713 -color10 #90EE34 -# Yellow -color3 #BC9329 -color11 #EECE25 -# Blue -color4 #2E79E9 -color12 #6DA7FF -# Magenta -color5 #7C4DFF -color13 #AB8EFF -# Cyan -color6 #0EB5EB -color14 #64DCFF -# White -color7 #9EA29A -color15 #CBCBCB +window_margin_width 0 +window_padding_width 0 diff --git a/kitty_dark.conf b/kitty_dark.conf new file mode 100644 index 0000000..f09815b --- /dev/null +++ b/kitty_dark.conf @@ -0,0 +1,29 @@ +foreground #ffffff +background #2F2F2F +cursor #ffffff +cursor_text_color #2F2F2F + +# Black +color0 #2E3436 +color8 #434343 +# Red +color1 #BF2A40 +color9 #DD636A +# Green +color2 #5BA713 +color10 #90EE34 +# Yellow +color3 #BC9329 +color11 #EECE25 +# Blue +color4 #2E79E9 +color12 #6DA7FF +# Magenta +color5 #7C4DFF +color13 #AB8EFF +# Cyan +color6 #0EB5EB +color14 #64DCFF +# White +color7 #9EA29A +color15 #CBCBCB diff --git a/kitty_light.conf b/kitty_light.conf new file mode 100644 index 0000000..b9f8dee --- /dev/null +++ b/kitty_light.conf @@ -0,0 +1,29 @@ +foreground #000000 +background #D9D9D9 +cursor #2B2B2B +cursor_text_color #D9D9D9 + +# Black +color0 #2B2B2B +color8 #2E3436 +# Red +color1 #DE0461 +color9 #E62C7B +# Green +color2 #3AB407 +color10 #47AE17 +# Yellow +color3 #D28511 +color11 #DAA211 +# Blue +color4 #0B3193 +color12 #1346C9 +# Magenta +color5 #5009EB +color13 #7336F4 +# Cyan +color6 #097C95 +color14 #10B6CE +# White +color7 #E9E9E9 +color15 #F9F9F9