From: Ian Kelling Date: Tue, 8 Mar 2022 04:28:52 +0000 (-0500) Subject: adopt kitty X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=7e673f2615101982a17ffa0e23cb10b5b3803f07;p=distro-setup adopt kitty --- diff --git a/.bashrc b/.bashrc index d2057c4..35db9ac 100644 --- a/.bashrc +++ b/.bashrc @@ -93,3 +93,10 @@ fi # ensure no bad programs appending to this file will have an affect return 0 + +# kitty puts this here on startup, i need to build with some option to +# avoid it, whatever. + +# BEGIN_KITTY_SHELL_INTEGRATION +if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi +# END_KITTY_SHELL_INTEGRATION diff --git a/brc b/brc index d0c0f8d..00f2172 100644 --- a/brc +++ b/brc @@ -204,6 +204,15 @@ if [[ $- == *i* ]]; then fi +case $TERM in + # fixup broken backspace in chroots + xterm-kitty|alacritty) + chroot() { + TERM=xterm-256color command chroot "$@" + } + ;; +esac + export BC_LINE_LENGTH=0 # ansible option diff --git a/filesystem/etc/xdg/kitty/kitty.conf b/filesystem/etc/xdg/kitty/kitty.conf index ee95ddb..a01fabd 100644 --- a/filesystem/etc/xdg/kitty/kitty.conf +++ b/filesystem/etc/xdg/kitty/kitty.conf @@ -1 +1,4 @@ cursor_blink_interval 0 +font_size 14 +# add : from default +select_by_word_characters @-./_~?&=%+#: diff --git a/subdir_files/.config/i3/config b/subdir_files/.config/i3/config index 27c5e89..b126030 100644 --- a/subdir_files/.config/i3/config +++ b/subdir_files/.config/i3/config @@ -81,7 +81,7 @@ bindsym $mod+9 workspace 10 bindsym $mod+Shift+m border toggle bindsym $mod+j exec emacsclient -c -bindsym $mod+k exec alacritty +bindsym $mod+k exec kitty bindsym $mod+l exec dmenu_run # note default is 27% on my system76. not sure if these # keybinds will screw up other laptop brightness keys. diff --git a/subdir_files/.config/sway/config b/subdir_files/.config/sway/config index ec7b201..f96355a 100644 --- a/subdir_files/.config/sway/config +++ b/subdir_files/.config/sway/config @@ -81,7 +81,7 @@ bindsym $mod+9 workspace 10 bindsym $mod+Shift+m border toggle bindsym $mod+j exec emacsclient -c -bindsym $mod+k exec alacritty +bindsym $mod+k exec kitty bindsym $mod+l exec dmenu_run # note default is 27% on my system76. not sure if these # keybinds will screw up other laptop brightness keys.