Compare commits

...

2 commits

Author SHA1 Message Date
8195f975be bash: load completions 2024-10-06 05:10:16 +02:00
9bb7d51331 mako: change style 2024-10-06 04:51:33 +02:00
2 changed files with 33 additions and 14 deletions

View file

@ -15,6 +15,15 @@ shopt -s histappend
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
while read -r completion ; do source "$completion" ; done < <(find $HOME/.bash_completion/ -maxdepth 1 -not -type d)
# Save working dir on every prompt.
export PROMPT_COMMAND='pwd > $HOME/.cwd'
export PS1="${Yellow}\d \A ${Off}${Green}\u@\h: ${Off}\w ${Red}\$(parse_branch git)${BRed}\$(parse_branch fossil)${Off}\n-$ "

View file

@ -1,21 +1,31 @@
sort=-time
layer=overlay
background-color=#2e3440C4
border-size=2
border-color=#88c0d0
border-radius=15
icons=1
max-icon-size=164
default-timeout=5000
default-timeout=0
ignore-timeout=0
height=200
width=400
padding=10
[urgency=low]
border-color=#cccccc
icons=1
max-icon-size=128
[urgency=normal]
border-color=#d08770
border-size=3
layer=overlay
border-radius=10
# colors
background-color=#eff1f5E0
text-color=#4c4f69
border-color=#fe640b
progress-color=over #ccd0da
[urgency=high]
border-color=#bf616a
default-timeout=0
border-color=#fe040b
background-color=#ffe1e5
border-size=5
[urgency=critical]
border-color=#fe040b
background-color=#ffe1e5
border-size=5