1
0
Fork 0

powerline, fonts

This commit is contained in:
Von Random 2023-06-19 18:34:20 +03:00
parent 38a8bca89c
commit d8585b25bd
7 changed files with 10 additions and 22 deletions

View file

@ -1,4 +1,4 @@
set prompt_sep \ue0bc
set prompt_sep \ue0b0
set prompt_bang \n\ (set_color brred)\u266a\
set git_sign \ue0a0
set color_fg brwhite

View file

@ -1,5 +1,5 @@
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
end
end

View file

@ -28,8 +28,7 @@ if require('packer_init').init(plugins) then return end
require('lualine').setup{
options = {
icons_enabled = false,
component_separators = { left = '\u{2022}', right = '\u{2022}' },
section_separators = { left = '\u{e0bc}', right = '\u{e0be}' }
component_separators = { left = '\u{2022}', right = '\u{2022}' }
}
}

View file

@ -7,7 +7,7 @@ prompt_wt="$USERNAME@$HOST"
prompt_fifo=~/.zsh_gitstatus_$$
prompt_blimit=12
typeset -A prompt_symbols=(
sep_a $'\ue0bc'
sep_a $'\ue0b0'
ellipsis $'\u2026'
git $'\ue0a0'
git_unstaged '~'

View file

@ -35,7 +35,7 @@ set -g message-style "bg=blue,fg=white"
set -g message-command-style "bg=red,fg=white"
set -g status on
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-position "bottom"
set -g status-justify "left"

View file

@ -1,17 +1,6 @@
# I am config
font_family Cascadia Mono PL
font_features CascadiaMonoPL-Regular +ss19
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
font_family vcascadia
disable_ligatures always
modify_font underline_position 1
font_size 14
box_drawing_scale 0.1, 0.5, 1, 1.5

View file

@ -1,7 +1,7 @@
local wt = require('wezterm')
local act = wt.action
local font = 'Cascadia Mono PL'
local font_features = { 'ss01=1', 'ss02=1', 'ss19=1' }
local font = 'vcascadia'
local harfbuzz_features = null
local fontsizes = { Darwin = 14, others = 11 }
local theme = 'GruvboxDark'
local overrides = {
@ -103,7 +103,7 @@ return {
audible_bell = 'Disabled',
font = wt.font(font),
font_size = set_by_os(fontsizes),
harfbuzz_features = font_features,
harfbuzz_features = harfbuzz_features,
color_scheme = theme,
cursor_blink_rate = 0,
check_for_updates = false,