From 9bb7d5133144471c14fb93086d0d662ca13d9c74 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Sun, 6 Oct 2024 04:51:33 +0200 Subject: [PATCH 1/2] mako: change style --- dotfiles/.config/mako/config | 38 +++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/dotfiles/.config/mako/config b/dotfiles/.config/mako/config index 8f0e625..a70e683 100644 --- a/dotfiles/.config/mako/config +++ b/dotfiles/.config/mako/config @@ -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 From 8195f975be4b7dfb08d02eedeea8f6085044060e Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Sun, 6 Oct 2024 04:58:36 +0200 Subject: [PATCH 2/2] bash: load completions --- dotfiles/.bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 24e6235..6f086b2 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -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-$ "