Browse Source

pkgsearch: fix colors

pull/6/head
DanielFGray 6 years ago
parent
commit
3f17db56fa
  1. 7
      pkgsearch

7
pkgsearch

@ -1,9 +1,10 @@ @@ -1,9 +1,10 @@
#!/usr/bin/env bash
declare -r esc=$'\033'
declare -r c_red=$(tput setaf 1)
declare -r c_blue=$(tput setaf 4)
declare -r c_reset=$(tput sgr0)
declare -r c_reset="${esc}[0m"
declare -r c_red="${esc}[31m"
declare -r c_green="${esc}[32m"
declare -r c_blue="${esc}[34m"
declare -a config_err
declare -r config_dir="${XDG_CONFIG_DIR:-$HOME/.config}/pkgsearch"
declare -r config_file="${config_dir}/conf"

Loading…
Cancel
Save