Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Dec 24, 2016
2 parents e1c8ead + 72829b4 commit 57ceaec
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@

---

# 0.1.0 (2016-12-24)
## Features
Implemented the main shell script theme file [`nord.sh`](https://github.com/arcticicestudio/nord-guake/blob/develop/src/sh/nord.sh). (@arcticicestudio, #1, 152a9ac0)

Detailed information about features and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-guake/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-guake/wiki).

<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-guake/develop/src/assets/scrot-colortest.png"/><br><strong>htop</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-guake/develop/src/assets/scrot-htop.png"/></p>

# 0.0.0 (2016-12-22)
**Project Initialization**
58 changes: 58 additions & 0 deletions src/sh/nord.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
#!/usr/bin/env bash
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# title Nord Guake +
# project nord-guake +
# repository https://github.com/arcticicestudio/nord-guake +
# author Arctic Ice Studio +
# email development@arcticicestudio.com +
# copyright Copyright (C) 2016 +
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
set -e

_ct="\e[0;37m"
_ctb_error="\e[1;31m"
_ctb_success="\e[1;32m"
_ctb="\e[1;37m"
_c_reset="\e[0m"

NORD_GUAKE_VERSION=0.1.0

__cleanup() {
trap '' SIGINT SIGTERM
unset -v _ct_error _ct _ctb_error _ctb_success _ctb _c_reset
unset -v GCONFTOOL2 NORD_GUAKE_VERSION
unset -f __cleanup __log_error __log_success __log_info
}

__log_error() {
printf "${_ctb_error}[ERROR] ${_ct}$1${_c_reset}\n"
}

__log_info() {
printf "${_ctb}[INFO] ${_ct}$1${_c_reset}\n"
}

__log_success() {
printf "${_ctb_success}[OK] ${_ct}$1${_c_reset}\n"
}

trap "printf '${_ctb_error}User aborted.${_c_reset}\n' && exit 1" SIGINT SIGTERM

[[ -z "$GCONFTOOL2" ]] && GCONFTOOL2=gconftool-2

if which "$GCONFTOOL2" > /dev/null 2>&1; then
$GCONFTOOL2 -s -t string /apps/guake/style/background/color '#2e2e34344040'
__log_info "Background color has been set"
$GCONFTOOL2 -s -t string /apps/guake/style/font/color '#d8d8dedee9e9'
__log_info "Font color has been set"
$GCONFTOOL2 -s -t string /apps/guake/style/font/palette '#3b3b42425252:#bfbf61616a6a:#a3a3bebe8c8c:#ebebcbcb8b8b:#8181a1a1c1c1:#b4b48e8eadad:#8888c0c0d0d0:#e5e5e9e9f0f0:#4c4c56566a6a:#bfbf61616a6a:#a3a3bebe8c8c:#ebebcbcb8b8b:#8181a1a1c1c1:#b4b48e8eadad:#8f8fbcbcbbbb:#ececefeff4f4'
__log_info "Color palette has been set"
__log_success "Nord Guake has been installed"
else
__log_error "Could not execute $GCONFTOOL2 command"
__cleanup
exit 1
fi

__cleanup
exit 0

0 comments on commit 57ceaec

Please sign in to comment.