msg_blue() { printf "${blue}=>${bold} $1${all_off}\n" } note() { printf "${blue}=>${yellow} NOTE:${bold} $1${all_off}\n" } all_off="$(tput sgr0)" bold="${all_off}$(tput bold)" blue="${blue}$(tput setaf 4)" yellow="${bold}$(tput setaf 3)" pre_remove() { msg_blue "Removing no longer needed symlinks for xf86-input-cmt" sudo cmt-conf-setup remove }