kitty related updates
This commit is contained in:
parent
3a402ad680
commit
4ccea5537d
3 changed files with 22 additions and 9 deletions
|
@ -46,7 +46,7 @@ input_delay 3
|
||||||
sync_to_monitor yes
|
sync_to_monitor yes
|
||||||
|
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
visual_bell_duration 0.1
|
visual_bell_duration 0.0
|
||||||
window_alert_on_bell yes
|
window_alert_on_bell yes
|
||||||
bell_on_tab no
|
bell_on_tab no
|
||||||
|
|
||||||
|
@ -58,16 +58,16 @@ enabled_layouts tall:bias=60,fat:bias=70,stack
|
||||||
|
|
||||||
# window_resize_step_cells 2
|
# window_resize_step_cells 2
|
||||||
# window_resize_step_lines 2
|
# window_resize_step_lines 2
|
||||||
window_border_width 1.0
|
window_border_width 4.0
|
||||||
draw_minimal_borders yes
|
draw_minimal_borders yes
|
||||||
window_margin_width 0.0
|
window_margin_width 0.0
|
||||||
# single_window_margin_width -1000.0
|
# single_window_margin_width -1000.0
|
||||||
window_padding_width 4.0
|
window_padding_width 4.0
|
||||||
|
|
||||||
active_border_color #00ff00
|
active_border_color #444
|
||||||
inactive_border_color #cccccc
|
inactive_border_color #333
|
||||||
bell_border_color #ff5a00
|
bell_border_color #ff5a00
|
||||||
inactive_text_alpha 0.8
|
inactive_text_alpha 0.5
|
||||||
|
|
||||||
tab_bar_edge bottom
|
tab_bar_edge bottom
|
||||||
tab_bar_margin_width 0.0
|
tab_bar_margin_width 0.0
|
||||||
|
@ -77,11 +77,11 @@ tab_bar_style fade
|
||||||
tab_fade 0.2 0.5 0.8 1
|
tab_fade 0.2 0.5 0.8 1
|
||||||
# tab_separator " ┇"
|
# tab_separator " ┇"
|
||||||
|
|
||||||
active_tab_foreground #000
|
active_tab_foreground #eee
|
||||||
active_tab_background #eee
|
active_tab_background #2f2a4b
|
||||||
active_tab_font_style bold-italic
|
active_tab_font_style bold-italic
|
||||||
inactive_tab_foreground #444
|
inactive_tab_foreground #777
|
||||||
inactive_tab_background #999
|
inactive_tab_background #444
|
||||||
inactive_tab_font_style normal
|
inactive_tab_font_style normal
|
||||||
|
|
||||||
foreground #dcdccc
|
foreground #dcdccc
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
bindkey -v
|
bindkey -v
|
||||||
source ~/.profile
|
source ~/.profile
|
||||||
source ~/src/pkg/zgen/zgen.zsh
|
source ~/src/pkg/zgen/zgen.zsh
|
||||||
|
source ~/.zsh/kitty.compl.zsh
|
||||||
|
|
||||||
if ! zgen saved; then
|
if ! zgen saved; then
|
||||||
echo "running zgen"
|
echo "running zgen"
|
||||||
|
|
12
zsh/kitty.compl.zsh
Normal file
12
zsh/kitty.compl.zsh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
_kitty() {
|
||||||
|
local src
|
||||||
|
# Send all words up to the word the cursor is currently on
|
||||||
|
src=$(printf "%s
|
||||||
|
" "${(@)words[1,$CURRENT]}" | kitty +complete zsh)
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
eval ${src}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
compdef _kitty kitty
|
||||||
|
|
Loading…
Add table
Reference in a new issue