summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-01-01 12:51:42 -0500
committerottjk <joshott16@gmail.com>2024-01-01 12:51:42 -0500
commit782b6d94437f9efaa9de6a5b1795bd787c0e1753 (patch)
treeca0452a1ad85cc7a63097ca15621494101931d27
parentf229337c3955a794294f47478c4d39e825b2dd9e (diff)
downloaddotfiles-782b6d94437f9efaa9de6a5b1795bd787c0e1753.tar.gz
dotfiles-782b6d94437f9efaa9de6a5b1795bd787c0e1753.zip
big terms
-rw-r--r--config.fish (renamed from fish/config.fish)10
-rw-r--r--configs.toml56
-rw-r--r--fish/fish_variables38
-rw-r--r--starship/starship.toml (renamed from starship.toml)32
-rw-r--r--starship/transient.toml13
5 files changed, 72 insertions, 77 deletions
diff --git a/fish/config.fish b/config.fish
index fa56cd5..f2c9832 100644
--- a/fish/config.fish
+++ b/config.fish
@@ -2,18 +2,25 @@ fish_add_path -p /usr/local/sbin /usr/local/bin /usr/bin
set -e TERMCAP
set -e MANPATH
+set -U fish_greeting
+set -Ux STARSHIP_CONFIG ~/.config/starship/starship.toml
pyenv init - | source
zoxide init fish | source
starship init fish | source
+function starship_transient_prompt_func
+ set --local -x STARSHIP_CONFIG ~/.config/starship/transient.toml
+ starship module character
+end
+
function xcd
set --local result (command xplr $argv)
[ -n "$result" ] && cd "$result"
end
if status is-interactive
- alias ls='eza'
+ alias ls='eza -w 80 --icons'
alias cd='z'
alias grep='grep --color=auto'
alias nv=nvim
@@ -21,5 +28,4 @@ if status is-interactive
fish_add_path -p ~/.cargo/bin ~/.local/bin
fish_vi_key_bindings
enable_transience
- pfetch
end
diff --git a/configs.toml b/configs.toml
index d5aaea4..86fa235 100644
--- a/configs.toml
+++ b/configs.toml
@@ -1,55 +1,55 @@
-[starship]
-file = "starship.toml"
-parent = "/home/josh/.config"
-
[dunst]
file = "dunst"
parent = "~/.config"
-[swaylock]
-file = "swaylock"
+[nvim]
+file = "nvim"
parent = "~/.config"
-[vim]
-file = ".vimrc"
-parent = "~/"
+[starship]
+file = "starship"
+parent = "/home/josh/.config"
-[tofi]
-file = "tofi"
+[kanata]
+file = "keybs"
parent = "~/.config"
-[tex]
-file = "texmf"
-parent = "~/"
-
-[fish]
-file = "fish"
+[xplr]
+file = "xplr"
parent = "~/.config"
-[nvim]
-file = "nvim"
+[tofi]
+file = "tofi"
parent = "~/.config"
-[kanata]
-file = "keybs"
-parent = "~/.config"
+[wezterm]
+file = ".wezterm.lua"
+parent = "~/"
[zathura]
file = "zathura"
parent = "~/.config"
-[xplr]
-file = "xplr"
+[swaylock]
+file = "swaylock"
parent = "~/.config"
+[fish]
+file = "/home/josh/.config/fish"
+parent = "config.fish"
+
+[vim]
+file = ".vimrc"
+parent = "~/"
+
[sway]
file = "sway"
parent = "~/.config"
+[tex]
+file = "texmf"
+parent = "~/"
+
[waybar]
file = "waybar"
parent = "~/.config"
-
-[wezterm]
-file = ".wezterm.lua"
-parent = "~/"
diff --git a/fish/fish_variables b/fish/fish_variables
deleted file mode 100644
index f4539c1..0000000
--- a/fish/fish_variables
+++ /dev/null
@@ -1,38 +0,0 @@
-# This file contains fish universal variable definitions.
-# VERSION: 3.0
-SETUVAR --export EDITOR:nvim
-SETUVAR --export PF_INFO:ascii\x20title\x20os\x20uptime\x20pkgs\x20memory
-SETUVAR --export PYENV_ROOT:/home/josh/\x2epyenv
-SETUVAR --export VISUAL:nvim
-SETUVAR --export XDG_SCREENSHOTS_DIR:/home/josh/Pictures/screenshots
-SETUVAR __fish_initialized:3400
-SETUVAR _fisher_upgraded_to_4_4:\x1d
-SETUVAR fish_color_autosuggestion:555\x1ebrblack
-SETUVAR fish_color_cancel:\x2dr
-SETUVAR fish_color_command:blue
-SETUVAR fish_color_comment:red
-SETUVAR fish_color_cwd:green
-SETUVAR fish_color_cwd_root:red
-SETUVAR fish_color_end:green
-SETUVAR fish_color_error:brred
-SETUVAR fish_color_escape:brcyan
-SETUVAR fish_color_history_current:\x2d\x2dbold
-SETUVAR fish_color_host:normal
-SETUVAR fish_color_host_remote:yellow
-SETUVAR fish_color_normal:normal
-SETUVAR fish_color_operator:brcyan
-SETUVAR fish_color_param:cyan
-SETUVAR fish_color_quote:yellow
-SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
-SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
-SETUVAR fish_color_status:red
-SETUVAR fish_color_user:brgreen
-SETUVAR fish_color_valid_path:\x2d\x2dunderline
-SETUVAR fish_key_bindings:fish_default_key_bindings
-SETUVAR fish_pager_color_completion:normal
-SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
-SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
-SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
-SETUVAR fish_pager_color_selected_background:\x2dr
-SETUVAR fish_user_paths:/home/josh/\x2ecargo/bin\x1e/home/josh/\x2elocal/bin\x1e/home/josh/git\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/usr/bin
diff --git a/starship.toml b/starship/starship.toml
index 37d9f42..f6a90c2 100644
--- a/starship.toml
+++ b/starship/starship.toml
@@ -3,6 +3,7 @@ format = """
[](id_color)\
$os\
$username\
+$sudo\
[](fg:id_color bg:dir_color)\
$directory\
[](fg:dir_color bg:git_color)\
@@ -19,6 +20,7 @@ $kotlin\
$haskell\
$python\
$julia\
+$lua\
[](fg:lang_color)\
$line_break\
[╰](id_color)$character
@@ -51,7 +53,8 @@ disabled = false
[directory]
style = "bg:dir_color"
-format = "[ $path ]($style fg:black bold)"
+read_only = ""
+format = '[ $path( $read_only) ]($style fg:black bold)'
truncation_length = 3
truncation_symbol = "…/"
@@ -64,14 +67,20 @@ format = '[ $symbol $branch ]($style)'
style = "bg:git_color fg:black bold"
format = '[$all_status$ahead_behind ]($style)'
-# [character]
-# disabled = false
-# success_symbol = '[](bold fg:green)'
-# error_symbol = '[](bold fg:red)'
-# vimcmd_symbol = '[](bold fg:green)'
-# vimcmd_replace_one_symbol = '[](bold fg:mauve)'
-# vimcmd_replace_symbol = '[](bold fg:mauve)'
-# vimcmd_visual_symbol = '[](bold fg:yellow)'
+[character]
+disabled = false
+success_symbol = '[─󰁔](fg:id_color)'
+error_symbol = '[┤](fg:id_color)[󰁔](fg:red)'
+vimcmd_symbol = '[┤](fg:id_color)[](fg:green)'
+vimcmd_replace_one_symbol = '[┤](fg:id_color)[](fg:mauve)'
+vimcmd_replace_symbol = '[┤](fg:id_color)[](fg:mauve)'
+vimcmd_visual_symbol = '[┤](fg:id_color)[](fg:yellow)'
+
+[sudo]
+disabled = false
+symbol = " "
+style = "bg:id_color fg:black"
+format = '[$symbol]($style)'
[nodejs]
symbol = ""
@@ -122,3 +131,8 @@ format = '[ $symbol( $version) ]($style)'
symbol = ""
style = "bg:lang_color fg:black bold"
format = '[ $symbol( $version) ]($style)'
+
+[lua]
+symbol = ""
+style = "bg:lang_color fg:black bold"
+format = '[ $symbol( $version) ]($style)'
diff --git a/starship/transient.toml b/starship/transient.toml
new file mode 100644
index 0000000..089db4d
--- /dev/null
+++ b/starship/transient.toml
@@ -0,0 +1,13 @@
+palette = "catppuccin"
+
+[palettes.catppuccin]
+id_color = "#f0c6c6" # flamingo
+
+[character]
+disabled = false
+success_symbol = '[󰑂─󰁔](fg:id_color)'
+error_symbol = '[󰑂┤](fg:id_color)[󰁔](fg:red)'
+vimcmd_symbol = '[󰑂┤](fg:id_color)[](fg:green)'
+vimcmd_replace_one_symbol = '[󰑂┤](fg:id_color)[](fg:mauve)'
+vimcmd_replace_symbol = '[󰑂┤](fg:id_color)[](fg:mauve)'
+vimcmd_visual_symbol = '[󰑂┤](fg:id_color)[](fg:yellow)'