diff --git a/copy.sh b/copy.sh index c895868..7a60589 100755 --- a/copy.sh +++ b/copy.sh @@ -32,3 +32,4 @@ save_if_exists "waybar/style.css" save_if_exists "kitty/kitty.conf" save_if_exists "kitty/koa.png" save_if_exists "nvim" +save_if_exists "fish/config.fish" diff --git a/pipktop/fish/config.fish b/pipktop/fish/config.fish new file mode 100644 index 0000000..0ad9b8d --- /dev/null +++ b/pipktop/fish/config.fish @@ -0,0 +1,33 @@ +if status is-interactive + # Commands to run in interactive sessions can go here +end + +function fish_greeting + echo "" + echo (set_color brred)"Koa~~"(set_color white) | awk '{ z = '$(tput cols)' - 5; y = int(z / 2); x = z - y; printf "%*s%s%*s\n", x, "", $0, y, ""; }' + echo "" +end + +function fish_right_prompt + if test $status -ne 0 + echo (set_color brred)":("(set_color white) + end +end + +function ssh + if test $TERM = 'xterm-kitty' + kitten ssh $argv + else + ssh $argv + end +end + +# starship init fish | source + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +if test -f /opt/miniconda3/bin/conda + eval /opt/miniconda3/bin/conda "shell.fish" "hook" $argv | source +end +# <<< conda initialize <<< + diff --git a/pipktop/kitty/kitty.conf b/pipktop/kitty/kitty.conf index 2246526..77e73b8 100644 --- a/pipktop/kitty/kitty.conf +++ b/pipktop/kitty/kitty.conf @@ -6,7 +6,7 @@ font_size 14.0 -background_image /home/zacha/.config/kitty/koa.png +background_image ~/.config/kitty/koa.png background_image_layout cscaled background_tint 0.9