Browse Source

pkgsearch: fix colors

pull/6/head
DanielFGray 2 years ago
parent
commit
3f17db56fa
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      pkgsearch

+ 4
- 3
pkgsearch View File

@@ -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