Skip to content

Commit 4383d6f

Browse files
committed
Switch back to more descriptive spaceship prompt; use Cantarell as polybar & i3 font
1 parent 38624b9 commit 4383d6f

File tree

6 files changed

+39
-5
lines changed

6 files changed

+39
-5
lines changed

i3/.config/i3/config

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exec_always --no-startup-id ~/.config/polybar/launch.sh
2020
exec_always --no-startup-id feh --bg-fill ~/.dotfiles/wallpapers/mist.jpg
2121

2222
# Miscellaneous settings for windows
23-
font pango:Source Sans Pro 12, FontAwesome 12
23+
font pango:Cantarell 12, FontAwesome 12
2424
hide_edge_borders smart
2525

2626
# ####### #

polybar/.config/polybar/config

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ offset-y = 0
4545
padding-left = 0
4646
padding-right = 2
4747

48-
font-0 = "Source Sans Pro:style=Regular:pixelsize=24;3"
48+
font-0 = "Cantarell:style=Regular:pixelsize=22;3"
4949
font-1 = "Font Awesome 5 Free:style=Regular:pixelsize=20;3"
5050
font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=20;3"
5151
font-3 = "Font Awesome 5 Brands:pixelsize=20;3"

screenshot.jpg

-34.1 KB
Loading

zathura/.config/zathura/zathurarc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
set font "SauceCodePro Nerd Font normal 11"
1+
set font "SauceCodePro Nerd Font normal 12"
2+
set smooth-scroll true

zsh/.zsh_plugins.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ robbyrussell/oh-my-zsh folder:plugins/vi-mode
1717
robbyrussell/oh-my-zsh folder:plugins/colored-man-pages
1818

1919
# Themes
20-
# denysdovhan/spaceship-prompt
21-
sindresorhus/pure
20+
denysdovhan/spaceship-prompt
21+
# sindresorhus/pure

zsh/.zshrc

+33
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,39 @@
1212
autoload -Uz compinit
1313
compinit
1414

15+
# improve performance by removing unnecessary prompt sections
16+
SPACESHIP_PROMPT_ORDER=(
17+
user # Username section
18+
dir # Current directory section
19+
host # Hostname section
20+
git # Git section (git_branch + git_status)
21+
hg # Mercurial section (hg_branch + hg_status)
22+
package # Package version
23+
node # Node.js section
24+
ruby # Ruby section
25+
golang # Go section
26+
php # PHP section
27+
rust # Rust section
28+
haskell # Haskell Stack section
29+
julia # Julia section
30+
docker # Docker section
31+
venv # virtualenv section
32+
conda # conda virtualenv section
33+
pyenv # Pyenv section
34+
dotnet # .NET section
35+
kubecontext # Kubectl context section
36+
exec_time # Execution time
37+
vi_mode # Vi-mode indicator
38+
line_sep # Line break
39+
jobs # Background jobs indicator
40+
exit_code # Exit code section
41+
char # Prompt character
42+
)
43+
44+
# disable insert mode display on vi-mode prompt section
45+
SPACESHIP_VI_MODE_SUFFIX=""
46+
SPACESHIP_VI_MODE_INSERT=""
47+
1548
# load auto-generated antibody plugins file
1649
source ~/.zsh_plugins.sh
1750

0 commit comments

Comments
 (0)