powerline, fonts
This commit is contained in:
parent
38a8bca89c
commit
d8585b25bd
7 changed files with 10 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
||||||
set prompt_sep \ue0bc
|
set prompt_sep \ue0b0
|
||||||
set prompt_bang \n\ (set_color brred)\u266a\
|
set prompt_bang \n\ (set_color brred)\u266a\
|
||||||
set git_sign \ue0a0
|
set git_sign \ue0a0
|
||||||
set color_fg brwhite
|
set color_fg brwhite
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
function prompt.user
|
function prompt.user
|
||||||
if test -n "$SSH_CLIENT" || string match -qe root "$USER"
|
if test -n "$SSH_CONNECTION" || string match -qe root "$USER"
|
||||||
prompt.add black $USER@$hostname
|
prompt.add black $USER@$hostname
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -28,8 +28,7 @@ if require('packer_init').init(plugins) then return end
|
||||||
require('lualine').setup{
|
require('lualine').setup{
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = false,
|
icons_enabled = false,
|
||||||
component_separators = { left = '\u{2022}', right = '\u{2022}' },
|
component_separators = { left = '\u{2022}', right = '\u{2022}' }
|
||||||
section_separators = { left = '\u{e0bc}', right = '\u{e0be}' }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ prompt_wt="$USERNAME@$HOST"
|
||||||
prompt_fifo=~/.zsh_gitstatus_$$
|
prompt_fifo=~/.zsh_gitstatus_$$
|
||||||
prompt_blimit=12
|
prompt_blimit=12
|
||||||
typeset -A prompt_symbols=(
|
typeset -A prompt_symbols=(
|
||||||
sep_a $'\ue0bc'
|
sep_a $'\ue0b0'
|
||||||
ellipsis $'\u2026'
|
ellipsis $'\u2026'
|
||||||
git $'\ue0a0'
|
git $'\ue0a0'
|
||||||
git_unstaged '~'
|
git_unstaged '~'
|
||||||
|
|
|
@ -35,7 +35,7 @@ set -g message-style "bg=blue,fg=white"
|
||||||
set -g message-command-style "bg=red,fg=white"
|
set -g message-command-style "bg=red,fg=white"
|
||||||
set -g status on
|
set -g status on
|
||||||
set -g status-style "fg=black,bg=white"
|
set -g status-style "fg=black,bg=white"
|
||||||
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0bc #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0be#[reverse] %a %e %k:%M "
|
set -g status-format[0] "#[fg=brightred,bg=black,italics] #h[#S] #[default]\ue0b0 #{W: #I:#W ,#[reverse] #I:#W #[noreverse]} #[align=right]\ue0b2#[reverse] %a %e %k:%M "
|
||||||
set -g status-interval 2
|
set -g status-interval 2
|
||||||
set -g status-position "bottom"
|
set -g status-position "bottom"
|
||||||
set -g status-justify "left"
|
set -g status-justify "left"
|
||||||
|
|
|
@ -1,17 +1,6 @@
|
||||||
# I am config
|
# I am config
|
||||||
font_family Cascadia Mono PL
|
font_family vcascadia
|
||||||
font_features CascadiaMonoPL-Regular +ss19
|
disable_ligatures always
|
||||||
font_features CascadiaMonoPLRoman-ExtraLight +ss19
|
|
||||||
font_features CascadiaMonoPLRoman-Light +ss19
|
|
||||||
font_features CascadiaMonoPLRoman-SemiLight +ss19
|
|
||||||
font_features CascadiaMonoPLRoman-SemiBold +ss19
|
|
||||||
font_features CascadiaMonoPLRoman-Bold +ss19
|
|
||||||
font_features CascadiaMonoPL-Italic +ss19 +ss01
|
|
||||||
font_features CascadiaMonoPLItalic-ExtraLigh +ss19 +ss01
|
|
||||||
font_features CascadiaMonoPLItalic-Light +ss19 +ss01
|
|
||||||
font_features CascadiaMonoPLItalic-SemiBold +ss19 +ss01
|
|
||||||
font_features CascadiaMonoPLItalic-Bold +ss19 +ss01
|
|
||||||
font_features CascadiaMonoPLItalic-SemiLight +ss19 +ss01
|
|
||||||
modify_font underline_position 1
|
modify_font underline_position 1
|
||||||
font_size 14
|
font_size 14
|
||||||
box_drawing_scale 0.1, 0.5, 1, 1.5
|
box_drawing_scale 0.1, 0.5, 1, 1.5
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
local wt = require('wezterm')
|
local wt = require('wezterm')
|
||||||
local act = wt.action
|
local act = wt.action
|
||||||
local font = 'Cascadia Mono PL'
|
local font = 'vcascadia'
|
||||||
local font_features = { 'ss01=1', 'ss02=1', 'ss19=1' }
|
local harfbuzz_features = null
|
||||||
local fontsizes = { Darwin = 14, others = 11 }
|
local fontsizes = { Darwin = 14, others = 11 }
|
||||||
local theme = 'GruvboxDark'
|
local theme = 'GruvboxDark'
|
||||||
local overrides = {
|
local overrides = {
|
||||||
|
@ -103,7 +103,7 @@ return {
|
||||||
audible_bell = 'Disabled',
|
audible_bell = 'Disabled',
|
||||||
font = wt.font(font),
|
font = wt.font(font),
|
||||||
font_size = set_by_os(fontsizes),
|
font_size = set_by_os(fontsizes),
|
||||||
harfbuzz_features = font_features,
|
harfbuzz_features = harfbuzz_features,
|
||||||
color_scheme = theme,
|
color_scheme = theme,
|
||||||
cursor_blink_rate = 0,
|
cursor_blink_rate = 0,
|
||||||
check_for_updates = false,
|
check_for_updates = false,
|
||||||
|
|
Loading…
Reference in a new issue