feat(work): new fish prompt
This commit is contained in:
parent
962fc10ef1
commit
597cae2f6d
@ -24,14 +24,14 @@ decorations_theme_variant = "Light" # "Dark"
|
|||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 11.5
|
size = 11.5
|
||||||
normal.family = "CartographCF Nerd Font"
|
normal.family = "MesloLGM Nerd Font"
|
||||||
normal.style = "Regular"
|
normal.style = "Regular"
|
||||||
bold.family = "CartographCF Nerd Font"
|
bold.family = "MesloLGM Nerd Font"
|
||||||
bold.style = "DemiBold"
|
bold.style = "Bold"
|
||||||
italic.family = "CartographCF Nerd Font"
|
italic.family = "MesloLGM Nerd Font"
|
||||||
italic.style = "Italic"
|
italic.style = "Italic"
|
||||||
bold_italic.family = "CartographCF Nerd Font"
|
bold_italic.family = "MesloLGM Nerd Font"
|
||||||
bold_italic.style = "ExtraBold Italic"
|
bold_italic.style = "Bold Italic"
|
||||||
|
|
||||||
|
|
||||||
[[hints.enabled]]
|
[[hints.enabled]]
|
||||||
|
@ -5,6 +5,8 @@ if status --is-login
|
|||||||
set -gx BAT_THEME "Solarized (light)"
|
set -gx BAT_THEME "Solarized (light)"
|
||||||
set -gx SOLARIZED true
|
set -gx SOLARIZED true
|
||||||
set -gx EDITOR "nvim"
|
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
|
if test -z "$WAYLAND_DISPLAY" && test "$XDG_VTNR" -eq 1
|
||||||
set -gx XDG_CURRENT_DESKTOP "sway"
|
set -gx XDG_CURRENT_DESKTOP "sway"
|
||||||
sway
|
sway
|
||||||
@ -105,5 +107,16 @@ function switch_git_work
|
|||||||
git config user.email "lucas.catarina@consorciociga.gov.br"
|
git config user.email "lucas.catarina@consorciociga.gov.br"
|
||||||
end
|
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
|
fish_add_path /home/lucas/.spicetify
|
||||||
source ~/.config/fish/env.fish
|
source ~/.config/fish/env.fish
|
||||||
|
@ -11,7 +11,7 @@ set wpp2_solarized ~/pics/flower.jpg
|
|||||||
swaymsg reload
|
swaymsg reload
|
||||||
|
|
||||||
switch $CURRENT_THEME
|
switch $CURRENT_THEME
|
||||||
case black
|
case rose
|
||||||
echo changing to white ...
|
echo changing to white ...
|
||||||
# gsettings set org.gnome.desktop.interface gtk-theme "Windows-95"
|
# gsettings set org.gnome.desktop.interface gtk-theme "Windows-95"
|
||||||
# gsettings set org.gnome.desktop.interface icon-theme "nineicons-redux-v0.6"
|
# gsettings set org.gnome.desktop.interface icon-theme "nineicons-redux-v0.6"
|
||||||
|
@ -32,24 +32,32 @@ input "1267:12721:ELAN050A:00_04F3:31B1_Mouse" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input "1241:6185:LogoTech_Gaming_Keyboard" {
|
input "1241:6185:LogoTech_Gaming_Keyboard" {
|
||||||
xkb_layout br
|
xkb_variant intl
|
||||||
xkb_variant abnt2
|
xkb_layout us
|
||||||
|
# xkb_layout br
|
||||||
|
# xkb_variant abnt2
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
input "1:1:AT_Translated_Set_2_keyboard" {
|
input "1:1:AT_Translated_Set_2_keyboard" {
|
||||||
xkb_layout br
|
# xkb_layout br
|
||||||
xkb_variant abnt2
|
# xkb_variant abnt2
|
||||||
|
xkb_variant intl
|
||||||
|
xkb_layout us
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
input "6700:11555:USB_USB_Keyboard" {
|
input "6700:11555:USB_USB_Keyboard" {
|
||||||
xkb_layout br
|
# xkb_layout br
|
||||||
xkb_variant abnt2
|
# xkb_variant abnt2
|
||||||
|
xkb_variant intl
|
||||||
|
xkb_layout us
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
|
|
||||||
input "10874:27160:CASUE_CASUE_USB_Keyboard" {
|
input "10874:27160:CASUE_CASUE_USB_Keyboard" {
|
||||||
xkb_layout br
|
# xkb_layout br
|
||||||
xkb_variant abnt2
|
# xkb_variant abnt2
|
||||||
|
xkb_variant intl
|
||||||
|
xkb_layout us
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user