forked from DustVoice/dotfiles
Correct mistakes; Add dracula theme to fish; #Consider using fisher as a plugin manager
This commit is contained in:
parent
1d73a2b920
commit
94358c267e
3 changed files with 53 additions and 4 deletions
50
.config/fish/conf.d/dracula.fish
Normal file
50
.config/fish/conf.d/dracula.fish
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Dracula Color Palette
|
||||
set -l foreground f8f8f2
|
||||
set -l selection 44475a
|
||||
set -l comment 6272a4
|
||||
set -l red ff5555
|
||||
set -l orange ffb86c
|
||||
set -l yellow f1fa8c
|
||||
set -l green 50fa7b
|
||||
set -l purple bd93f9
|
||||
set -l cyan 8be9fd
|
||||
set -l pink ff79c6
|
||||
|
||||
# Syntax Highlighting Colors
|
||||
set -gx fish_color_normal $foreground
|
||||
set -gx fish_color_command $cyan
|
||||
set -gx fish_color_keyword $pink
|
||||
set -gx fish_color_quote $yellow
|
||||
set -gx fish_color_redirection $foreground
|
||||
set -gx fish_color_end $orange
|
||||
set -gx fish_color_error $red
|
||||
set -gx fish_color_param $purple
|
||||
set -gx fish_color_comment $comment
|
||||
set -gx fish_color_selection --background=$selection
|
||||
set -gx fish_color_search_match --background=$selection
|
||||
set -gx fish_color_operator $green
|
||||
set -gx fish_color_escape $pink
|
||||
set -gx fish_color_autosuggestion $comment
|
||||
set -gx fish_color_cancel $red --reverse
|
||||
set -gx fish_color_option $orange
|
||||
|
||||
# Default Prompt Colors
|
||||
set -gx fish_color_cwd $green
|
||||
set -gx fish_color_host $purple
|
||||
set -gx fish_color_host_remote $purple
|
||||
set -gx fish_color_user $cyan
|
||||
|
||||
# Completion Pager Colors
|
||||
set -gx fish_pager_color_progress $comment
|
||||
set -gx fish_pager_color_background
|
||||
set -gx fish_pager_color_prefix $cyan
|
||||
set -gx fish_pager_color_completion $foreground
|
||||
set -gx fish_pager_color_description $comment
|
||||
set -gx fish_pager_color_selected_background --background=$selection
|
||||
set -gx fish_pager_color_selected_prefix $cyan
|
||||
set -gx fish_pager_color_selected_completion $foreground
|
||||
set -gx fish_pager_color_selected_description $comment
|
||||
set -gx fish_pager_color_secondary_background
|
||||
set -gx fish_pager_color_secondary_prefix $cyan
|
||||
set -gx fish_pager_color_secondary_completion $foreground
|
||||
set -gx fish_pager_color_secondary_description $comment
|
|
@ -3,5 +3,5 @@ function dmenu_fish --description 'Open fish agnostic dmenu'
|
|||
|
||||
set commands $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2")
|
||||
|
||||
eval $command_to_run &
|
||||
fish -c "$command_to_run" &
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ function hyperv-gpg-agent
|
|||
rm $socket_path
|
||||
end
|
||||
|
||||
setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545 &
|
||||
screen -dmS gpg-socat socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545
|
||||
end
|
||||
|
||||
function hyperv-ssh-agent
|
||||
|
@ -16,8 +16,7 @@ function hyperv-ssh-agent
|
|||
if test -e $socket_path
|
||||
rm $socket_path
|
||||
end
|
||||
|
||||
setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59546 &
|
||||
screen -dmS ssh-socat socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59546
|
||||
end
|
||||
|
||||
function hyperv-forward --description 'Setup hyperv-agent forwarding'
|
||||
|
|
Loading…
Reference in a new issue