prompt
This commit is contained in:
12
.bashrc
12
.bashrc
@@ -10,7 +10,11 @@ if [[ "$PS1" && -f /usr/share/bash-completion/bash_completion ]]; then
|
||||
source /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
|
||||
# Init starship
|
||||
if command -v starship > /dev/null; then
|
||||
eval "$(starship init bash)"
|
||||
fi
|
||||
git_branch() {
|
||||
branch=$(git branch --show-current 2>/dev/null)
|
||||
if [ -n "$branch" ]; then
|
||||
echo " $branch"
|
||||
fi
|
||||
}
|
||||
|
||||
PS1='\[\e[38;5;238m\]╭╴\[\e[0;2m\]\[\e[0m\] \[\e[38;5;171;1;2m\]\u\[\e[0m\] on \[\e[38;5;221;1m\]\h\[\e[0m\] at \[\e[38;5;159;1m\]\w\[\e[0m\]\[\e[38;5;156m\]$(git_branch)\n\[\e[38;5;238m\]╰─\[\e[0m\] '
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_layout = us,no
|
||||
kb_options = grp:win_space_toggle
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font, Font Awesome, monospace";
|
||||
font-family: "JetBrainsMono Nerd Font", "Noto Sans Japanese", "Font Awesome", monospace;
|
||||
font-size: 14px;
|
||||
font-weight: 900;
|
||||
}
|
||||
@@ -73,4 +73,4 @@ button:hover {
|
||||
#custom-lock:hover {
|
||||
color: #E06C75;
|
||||
border-color: #E06C75;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user