Compare commits

...

5 commits

Author SHA1 Message Date
f22ec3db5a
usability improvements for volume button 2024-07-01 13:33:52 -05:00
5c14beb1f3
more spelling 2024-07-01 13:33:35 -05:00
4c551fdaca
add colorizer 2024-07-01 13:33:26 -05:00
01cb06f654
go back to p10k 2024-07-01 13:33:02 -05:00
6436bcf493
use simpler name 2024-06-25 13:35:56 -05:00
7 changed files with 32 additions and 12 deletions

View file

@ -27,6 +27,7 @@ get_icon() {
# Increase Volume
inc_volume() {
pamixer --unmute
pamixer --increase 5
}

View file

@ -9,4 +9,4 @@ _TODO.md
.direnv
.envrc
daylin-local*
ignored.md

View file

@ -81,4 +81,21 @@ return {
},
},
},
{
"norcalli/nvim-colorizer.lua",
config = function()
require("colorizer").setup({"*"}, {
RGB = true, -- #RGB hex codes
RRGGBB = true, -- #RRGGBB hex codes
names = true, -- "Name" codes like Blue
RRGGBBAA = true, -- #RRGGBBAA hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
-- Available modes: foreground, background
mode = "background", -- Set the display mode.
})
end,
},
}

View file

@ -65,3 +65,4 @@ catppuccin
cytosol
Lipofectamine
transcriptomic
Multiviewer

View file

@ -17,7 +17,7 @@ junegunn/fzf path:shell/key-bindings.zsh
wfxr/forgit
# prompt
# romkatv/powerlevel10k kind:fpath
romkatv/powerlevel10k kind:fpath
${ZDOTDIR}/plugins/prompt
# wrap-up

View file

@ -1,16 +1,16 @@
#!/usr/bin/env zsh
0=${(%):-%N}
# 0=${(%):-%N}
# fpath+="${0:A:h}/functions"
# autoload -Uz promptinit && promptinit
#
# if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
# [[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
# else
# [[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
# fi
# prompt powerlevel10k
autoload -Uz promptinit && promptinit
if zmodload zsh/terminfo && (( terminfo[colors] >= 256 )); then
[[ ! -f $ZDOTDIR/themes/.p10k.zsh ]] || source $ZDOTDIR/themes/.p10k.zsh
else
[[ ! -f $ZDOTDIR/themes/.p10k-ascii.zsh ]] || source $ZDOTDIR/themes/.p10k-ascii.zsh
fi
prompt powerlevel10k
# eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/omp/config.yml)"

View file

@ -147,7 +147,7 @@
# Connect left prompt lines with these symbols.
# typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F╭─'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F·'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%5F'
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%5F├─'
# typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%5F╰─'
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=''
@ -176,6 +176,7 @@
# prompt.
# typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='─'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR='·'
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR=' '
if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then
# The color of the filler.
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=5