Adding powerline and colour emoji support
This commit is contained in:
parent
5977dd953d
commit
83ee5c2974
8
bashrc
8
bashrc
|
@ -3,6 +3,12 @@ if [[ $- != *i* ]] ; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setting up the city's powerlines
|
||||||
|
powerline-daemon -q
|
||||||
|
POWERLINE_BASH_CONTINUATION=1
|
||||||
|
POWERLINE_BASH_SELECT=1
|
||||||
|
. /usr/lib/python3.8/site-packages/powerline/bindings/bash/powerline.sh
|
||||||
|
|
||||||
# The city's finest exports!
|
# The city's finest exports!
|
||||||
export GIT_EDITOR="vim"
|
export GIT_EDITOR="vim"
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
@ -11,4 +17,4 @@ export TERM=xterm-color # Fixes ssh since I use alacritty and it sets the TERM
|
||||||
export VIMINIT="source $HOME/.config/vim/vimrc"
|
export VIMINIT="source $HOME/.config/vim/vimrc"
|
||||||
|
|
||||||
alias ls="ls --color=auto"
|
alias ls="ls --color=auto"
|
||||||
|
alias weather='curl wttr.in/?format="%l:+%C,+%t+(feels+like+%f)\n"'
|
||||||
|
|
|
@ -11,14 +11,17 @@ colors:
|
||||||
font:
|
font:
|
||||||
size: 12.0
|
size: 12.0
|
||||||
normal:
|
normal:
|
||||||
family: "Cascadia Code"
|
family: "Cascadia Code PL"
|
||||||
style: Regular
|
style: Regular
|
||||||
bold:
|
bold:
|
||||||
family: "Cascadia Code"
|
family: "Cascadia Code PL"
|
||||||
style: Bold
|
style: Bold
|
||||||
italic:
|
italic:
|
||||||
family: "Cascadia Code"
|
family: "Cascadia Code PL"
|
||||||
style: Italic
|
style: Italic
|
||||||
|
glyph_offset:
|
||||||
|
x: 0
|
||||||
|
y: -1
|
||||||
|
|
||||||
window:
|
window:
|
||||||
dimensions:
|
dimensions:
|
||||||
|
|
|
@ -1,31 +1,40 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||||
<fontconfig>
|
<fontconfig>
|
||||||
<match>
|
<match>
|
||||||
<test name="family"><string>sans-serif</string></test>
|
<test name="family">
|
||||||
<edit name="family" mode="append" binding="strong">
|
<string>sans-serif</string>
|
||||||
<string>Noto Serif</string>
|
</test>
|
||||||
<string>Noto Color Emoji</string>
|
<edit name="family" binding="strong" mode="append">
|
||||||
</edit>
|
<string>Noto Serif</string>
|
||||||
</match>
|
<string>Noto Color Emoji</string>
|
||||||
|
</edit>
|
||||||
<!-- Add emoji generic family -->
|
</match>
|
||||||
<alias binding="strong">
|
<!-- Add emoji generic family -->
|
||||||
<family>emoji</family>
|
<alias binding="strong">
|
||||||
<default><family>Noto Color Emoji</family></default>
|
<family>emoji</family>
|
||||||
</alias>
|
<default>
|
||||||
|
<family>Noto Color Emoji</family>
|
||||||
<!-- Aliases for the other emoji fonts -->
|
</default>
|
||||||
<alias binding="strong">
|
</alias>
|
||||||
<family>Apple Color Emoji</family>
|
<!-- Aliases for the other emoji fonts -->
|
||||||
<prefer><family>Noto Color Emoji</family></prefer>
|
<alias binding="strong">
|
||||||
</alias>
|
<family>Apple Color Emoji</family>
|
||||||
<alias binding="strong">
|
<prefer>
|
||||||
<family>Segoe UI Emoji</family>
|
<family>Noto Color Emoji</family>
|
||||||
<prefer><family>Noto Color Emoji</family></prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias binding="strong">
|
<alias binding="strong">
|
||||||
<family>Emoji One</family>
|
<family>Segoe UI Emoji</family>
|
||||||
<prefer><family>Noto Color Emoji</family></prefer>
|
<prefer>
|
||||||
</alias>
|
<family>Noto Color Emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias binding="strong">
|
||||||
|
<family>Emoji One</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Noto Color Emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<dir>~/.fonts</dir>
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"groups": {
|
||||||
|
"gitstatus": { "fg": "gray8", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_branch": { "fg": "gray8", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_branch_clean": { "fg": "green", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_branch_dirty": { "fg": "gray8", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_branch_detached": { "fg": "mediumpurple", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_tag": { "fg": "darkcyan", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_behind": { "fg": "gray10", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_ahead": { "fg": "gray10", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_staged": { "fg": "green", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_unmerged": { "fg": "brightred", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_changed": { "fg": "mediumorange", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_untracked": { "fg": "brightestorange", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus_stashed": { "fg": "darkblue", "bg": "gray2", "attrs": [] },
|
||||||
|
"gitstatus:divider": { "fg": "gray8", "bg": "gray2", "attrs": [] }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
"common": {
|
||||||
|
"term_truecolor": false
|
||||||
|
},
|
||||||
|
"ext": {
|
||||||
|
"ipython": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "in",
|
||||||
|
"local_themes": {
|
||||||
|
"rewrite": "rewrite",
|
||||||
|
"out": "out",
|
||||||
|
"in2": "in2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pdb": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "default"
|
||||||
|
},
|
||||||
|
"shell": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "default",
|
||||||
|
"local_themes": {
|
||||||
|
"continuation": "continuation",
|
||||||
|
"select": "select"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tmux": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "default"
|
||||||
|
},
|
||||||
|
"vim": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "default",
|
||||||
|
"local_themes": {
|
||||||
|
"__tabline__": "tabline",
|
||||||
|
|
||||||
|
"cmdwin": "cmdwin",
|
||||||
|
"help": "help",
|
||||||
|
"quickfix": "quickfix",
|
||||||
|
|
||||||
|
"powerline.matchers.vim.plugin.nerdtree.nerdtree": "plugin_nerdtree",
|
||||||
|
"powerline.matchers.vim.plugin.commandt.commandt": "plugin_commandt",
|
||||||
|
"powerline.matchers.vim.plugin.gundo.gundo": "plugin_gundo",
|
||||||
|
"powerline.matchers.vim.plugin.gundo.gundo_preview": "plugin_gundo-preview"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wm": {
|
||||||
|
"colorscheme": "default",
|
||||||
|
"theme": "default",
|
||||||
|
"update_interval": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"gitstatus": {
|
||||||
|
"args": {
|
||||||
|
"formats": {
|
||||||
|
"branch": "\ue0a0 {}",
|
||||||
|
"tag": " ★ {}",
|
||||||
|
"behind": " ↓ {}",
|
||||||
|
"ahead": " ↑ {}",
|
||||||
|
"staged": " ● {}",
|
||||||
|
"unmerged": " ✖ {}",
|
||||||
|
"changed": " ✚ {}",
|
||||||
|
"untracked": " … {}",
|
||||||
|
"stashed": " ⚑ {}"
|
||||||
|
},
|
||||||
|
"detached_head_style": "ref"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
"segments": {
|
||||||
|
"left": [
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.net.hostname",
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.env.user",
|
||||||
|
"priority": 30
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.common.env.virtualenv",
|
||||||
|
"priority": 50
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline_gitstatus.gitstatus",
|
||||||
|
"priority": 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.cwd",
|
||||||
|
"priority": 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.jobnum",
|
||||||
|
"priority": 20
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"function": "powerline.segments.shell.last_pipe_status",
|
||||||
|
"priority": 10
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,2 +1,5 @@
|
||||||
set viminfo+=n~/.config/vim/viminfo
|
set viminfo+=n~/.config/vim/viminfo
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
|
set rtp+=/usr/lib/python3.8/site-packages/powerline/bindings/vim/
|
||||||
|
set laststatus=2
|
||||||
|
set t_Co=256
|
||||||
|
|
Loading…
Reference in New Issue