From e7dcd5fdb75c65baf1caaaf3ff26a7af267b9b5e Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 18 Jun 2018 21:12:35 +0200 Subject: [PATCH] enable font awesome in prompt --- zsh/.Xdefaults | 2 +- zsh/.zshrc.d/prompt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/.Xdefaults b/zsh/.Xdefaults index 5156055..9b66984 100644 --- a/zsh/.Xdefaults +++ b/zsh/.Xdefaults @@ -39,7 +39,7 @@ URxvt.lineSpace: 0 ! Fonts URxvt.allow_bold: false /* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */ -URxvt*font: xft:Monospace:pixelsize=14 +URxvt*font: xft:Monospace:pixelsize=11 URxvt*font: xft:DejaVu Sans Mono for Powerline:size=11, xft:FontAwesome5Free:style=Solid:pixelsize=11 #URxvt*boldFont: xft:Monospace:pixelsize=14 diff --git a/zsh/.zshrc.d/prompt b/zsh/.zshrc.d/prompt index 7c3456a..dbc7ca6 100644 --- a/zsh/.zshrc.d/prompt +++ b/zsh/.zshrc.d/prompt @@ -6,7 +6,8 @@ #fi ##set zsh theme et dircolor en fonction de term if [ $TERM != "linux" ]; then - source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme + POWERLEVEL9K_MODE="awesome-fontconfig" + source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme eval `dircolors ~/.dircolors/dircolors.256dark` POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs) else