feat(work): new fish prompt

This commit is contained in:
jabuxas 2025-01-16 07:59:09 -03:00
parent 962fc10ef1
commit 597cae2f6d
4 changed files with 36 additions and 15 deletions

View File

@ -24,14 +24,14 @@ decorations_theme_variant = "Light" # "Dark"
[font]
size = 11.5
normal.family = "CartographCF Nerd Font"
normal.family = "MesloLGM Nerd Font"
normal.style = "Regular"
bold.family = "CartographCF Nerd Font"
bold.style = "DemiBold"
italic.family = "CartographCF Nerd Font"
bold.family = "MesloLGM Nerd Font"
bold.style = "Bold"
italic.family = "MesloLGM Nerd Font"
italic.style = "Italic"
bold_italic.family = "CartographCF Nerd Font"
bold_italic.style = "ExtraBold Italic"
bold_italic.family = "MesloLGM Nerd Font"
bold_italic.style = "Bold Italic"
[[hints.enabled]]

View File

@ -5,6 +5,8 @@ if status --is-login
set -gx BAT_THEME "Solarized (light)"
set -gx SOLARIZED true
set -gx EDITOR "nvim"
set -x FZF_DEFAULT_OPTS '--height 50% --layout=reverse --border --preview "bat --style=numbers --color=always {}"'
fzf --fish | source
if test -z "$WAYLAND_DISPLAY" && test "$XDG_VTNR" -eq 1
set -gx XDG_CURRENT_DESKTOP "sway"
sway
@ -105,5 +107,16 @@ function switch_git_work
git config user.email "lucas.catarina@consorciociga.gov.br"
end
function fish_write
set_color $argv[1]
echo -en $argv[2]
set_color normal
end
function fish_prompt
fish_write normal "\n "
fish_write magenta (prompt_pwd --full-length-dirs=99999)
fish_write normal "\n := "
end
fish_add_path /home/lucas/.spicetify
source ~/.config/fish/env.fish

View File

@ -11,7 +11,7 @@ set wpp2_solarized ~/pics/flower.jpg
swaymsg reload
switch $CURRENT_THEME
case black
case rose
echo changing to white ...
# gsettings set org.gnome.desktop.interface gtk-theme "Windows-95"
# gsettings set org.gnome.desktop.interface icon-theme "nineicons-redux-v0.6"

View File

@ -32,24 +32,32 @@ input "1267:12721:ELAN050A:00_04F3:31B1_Mouse" {
}
input "1241:6185:LogoTech_Gaming_Keyboard" {
xkb_layout br
xkb_variant abnt2
xkb_variant intl
xkb_layout us
# xkb_layout br
# xkb_variant abnt2
xkb_options ctrl:nocaps
}
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_layout br
xkb_variant abnt2
# xkb_layout br
# xkb_variant abnt2
xkb_variant intl
xkb_layout us
xkb_options ctrl:nocaps
}
input "6700:11555:USB_USB_Keyboard" {
xkb_layout br
xkb_variant abnt2
# xkb_layout br
# xkb_variant abnt2
xkb_variant intl
xkb_layout us
xkb_options ctrl:nocaps
}
input "10874:27160:CASUE_CASUE_USB_Keyboard" {
xkb_layout br
xkb_variant abnt2
# xkb_layout br
# xkb_variant abnt2
xkb_variant intl
xkb_layout us
xkb_options ctrl:nocaps
}