Add simple bash scripts to make and grep xseg
[archipelago] / arch-scripts / init.sh
1 #! /bin/bash
2
3 ##########################
4 # Functions' definitions #
5 ##########################
6
7 txtrst=$(tput sgr0)             # Reset text color
8 txtred=$(tput setaf 1)  # Make text red
9 txtgrn=$(tput setaf 2)  # Make text green
10
11 red_echo(){
12         echo -e "${txtred}${1}${txtrst}"
13 }
14
15 grn_echo(){
16         echo -e "${txtgrn}${1}${txtrst}"
17 }