addet neovide config
This commit is contained in:
parent
253fd4c711
commit
a7224fbde1
2 changed files with 41 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
||||||
|
#!/bin/fish
|
||||||
# ─< VSCodium >─────────────────────────────────────────────────────────────────────────────
|
# ─< VSCodium >─────────────────────────────────────────────────────────────────────────────
|
||||||
if command -v codium >/dev/null 2>&1
|
if command -v codium >/dev/null 2>&1
|
||||||
alias code="codium"
|
alias code="codium"
|
||||||
|
@ -6,6 +6,12 @@ if command -v codium >/dev/null 2>&1
|
||||||
set -p EDITOR codium
|
set -p EDITOR codium
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# ─< neovide, the best frontend for any neovim-config >───────────────────────────────────
|
||||||
|
if test -d $HOME/.local/share/neovide/
|
||||||
|
set -p neovide (bash -c 'find $HOME/ -name *neovide*.appimage')
|
||||||
|
alias nvim="$neovide"
|
||||||
|
end
|
||||||
|
|
||||||
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
# ─< colorized ls >─────────────────────────────────────────────────────────────────────────
|
||||||
# ─< lsd >──────────────────────────────────────────────────────────────────────────────────
|
# ─< lsd >──────────────────────────────────────────────────────────────────────────────────
|
||||||
if command -v lsd >/dev/null 2>&1
|
if command -v lsd >/dev/null 2>&1
|
||||||
|
|
51
config.fish
51
config.fish
|
@ -1,5 +1,18 @@
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# ─< Commands to run in interactive sessions can go here >──────────────
|
# ─< Commands to run in interactive sessions can go here >──────────────
|
||||||
|
function _source
|
||||||
|
if test -d $HOME/.config/fish/init/
|
||||||
|
source $HOME/.config/fish/init/setup.fish
|
||||||
|
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
|
||||||
|
upin
|
||||||
|
# dep_fisher
|
||||||
|
else
|
||||||
|
notify-send "no fish config.."
|
||||||
|
end
|
||||||
|
if test -e $HOME/.config/fish/aliases.fish
|
||||||
|
source $HOME/.config/fish/aliases.fish
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ╭───────────────────────────────────────────────────╮
|
# ╭───────────────────────────────────────────────────╮
|
||||||
|
@ -16,7 +29,6 @@ function _source
|
||||||
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
|
# ────────────────────────────────────< setup some stuff >────────────────────────────────────
|
||||||
upin
|
upin
|
||||||
# dep_fisher
|
# dep_fisher
|
||||||
# check_fishr
|
|
||||||
else
|
else
|
||||||
notify-send "no fish config.."
|
notify-send "no fish config.."
|
||||||
end
|
end
|
||||||
|
@ -24,10 +36,12 @@ function _source
|
||||||
source $HOME/.config/fish/aliases.fish
|
source $HOME/.config/fish/aliases.fish
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
# ─────────────────────────────────< Environment-Variables >───────────────────────────────
|
||||||
set -p EDITOR (which nvim)
|
set -p EDITOR (which nvim)
|
||||||
|
|
||||||
# ────────────────────────────────────────< functions >─────────────────────────────────────
|
# ────────────────────────────────────────< functions >─────────────────────────────────────
|
||||||
|
|
||||||
# ─< z stands for Zoxide >──────────────────────────────────────────────────────────────────
|
# ─< z stands for Zoxide >──────────────────────────────────────────────────────────────────
|
||||||
function _zox
|
function _zox
|
||||||
if command -v zoxide >/dev/null 2>&1
|
if command -v zoxide >/dev/null 2>&1
|
||||||
|
@ -35,29 +49,32 @@ function _zox
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
# ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────
|
||||||
function _omp
|
function _bobfish
|
||||||
if command -v oh-my-posh >/dev/null 2>&1
|
if test -d $HOME/.config/fish/functions/bobthefish/
|
||||||
# ─< tokyo-storm config >───────────────────────────────────────────────────────────────────
|
source $HOME/.config/fish/functions/bobthefish/*.fish
|
||||||
oh-my-posh init fish --config ~/.config/fish/themes/tokyo_storm.toml | source
|
set -g theme_nerd_fonts yes
|
||||||
# ─< zen config >───────────────────────────────────────────────────────────────────────────
|
set -g defaults_user (echo $USER)
|
||||||
# oh-my-posh init fish --config ~/.config/fish/themes/zen.toml | source
|
# available options: dark, light, solarized(-dark/-light), base16(-dark/-light), zenburn, gruvbox(-light), dracula, nord, catppuccin-(latte/frappe/macchiato/mocha)
|
||||||
else
|
set -g theme_color_scheme catppuccin-mocha
|
||||||
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# ─< set colorscheme for bobthefish >───────────────────────────────────────────────────────
|
|
||||||
if test -d $HOME/.config/fish/functions/
|
# ─< oh-my-posh >───────────────────────────────────────────────────────────────────────────
|
||||||
set -g theme_nerd_fonts yes
|
if command -v oh-my-posh >/dev/null 2>&1
|
||||||
set -g defaults_user (echo $USER)
|
# ─< tokyo-storm config >───────────────────────────────────────────────────────────────────
|
||||||
# available options: dark, light, solarized(-dark/-light), base16(-dark/-light), zenburn, gruvbox(-light), dracula, nord, catppuccin-(latte/frappe/macchiato/mocha)
|
oh-my-posh init fish --config ~/.config/fish/themes/tokyo_storm.toml | source
|
||||||
set -g theme_color_scheme catppuccin-mocha
|
# ─< zen config >───────────────────────────────────────────────────────────────────────────
|
||||||
|
# oh-my-posh init fish --config ~/.config/fish/themes/zen.toml | source
|
||||||
|
else
|
||||||
|
_bobfish
|
||||||
|
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
|
||||||
end
|
end
|
||||||
|
|
||||||
function main
|
function main
|
||||||
_source
|
_source
|
||||||
_zox
|
_zox
|
||||||
_omp
|
# _omp
|
||||||
end
|
end
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue