Taylor Bockman
5 years ago
11 changed files with 22147 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/nord-xfce-terminal-banner.svg"/></p> |
||||||
|
|
||||||
|
<p align="center"><img src="https://assets-cdn.github.com/favicon.ico" width=24 height=24/> <a href="https://github.com/arcticicestudio/nord-xfce-terminal/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/nord-xfce-terminal.svg?style=flat-square"/></a> <a href="https://github.com/arcticicestudio/nord/releases/tag/v0.2.0"><img src="https://img.shields.io/badge/Nord-v0.2.0-88C0D0.svg?style=flat-square"/></a></p> |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
# 0.1.0 (2016-12-24) |
||||||
|
## Features |
||||||
|
Implemented the main olor theme file [`nord.theme`](https://github.com/arcticicestudio/nord-xfce-terminal/blob/develop/src/nord.theme). (@arcticicestudio, #1, 5f426da8) |
||||||
|
|
||||||
|
Implementd a [`install.sh`](https://github.com/arcticicestudio/nord-xfce-terminal/blob/develop/install.sh) shell script for an automated installation . (@arcticicestudio, #2, 8848292e) |
||||||
|
|
||||||
|
Detailed information about features and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-xfce-terminal/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-xfce-terminal/wiki). |
||||||
|
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/scrot-colortest.png"/><br><strong>htop</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/scrot-htop.png"/></p> |
||||||
|
|
||||||
|
# 0.0.0 (2016-12-22) |
||||||
|
**Project Initialization** |
@ -0,0 +1,22 @@ |
|||||||
|
MIT License (MIT) |
||||||
|
|
||||||
|
Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com> (http://arcticicestudio.com) |
||||||
|
Copyright (c) 2016-present Sven Greb <code@svengreb.de> (http://svengreb.de) |
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||||
|
of this software and associated documentation files (the "Software"), to deal |
||||||
|
in the Software without restriction, including without limitation the rights |
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||||
|
copies of the Software, and to permit persons to whom the Software is |
||||||
|
furnished to do so, subject to the following conditions: |
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all |
||||||
|
copies or substantial portions of the Software. |
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||||
|
SOFTWARE. |
@ -0,0 +1,57 @@ |
|||||||
|
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/nord-xfce-terminal-banner.svg"/></p> |
||||||
|
|
||||||
|
<p align="center"><img src="https://assets-cdn.github.com/favicon.ico" width=24 height=24/> <a href="https://github.com/arcticicestudio/nord-xfce-terminal/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/nord-xfce-terminal.svg?style=flat-square"/></a> <a href="https://github.com/arcticicestudio/nord/releases/tag/v0.2.0"><img src="https://img.shields.io/badge/Nord-v0.2.0-88C0D0.svg?style=flat-square"/></a></p> |
||||||
|
|
||||||
|
<p align="center">An arctic, north-bluish clean and elegant <a href="http://docs.xfce.org/apps/terminal/start">XFCE Terminal</a> color theme.</p> |
||||||
|
|
||||||
|
<p align="center">Designed for a fluent and clear workflow.<br> |
||||||
|
Based on the <a href="https://github.com/arcticicestudio/nord">Nord</a> color palette.</p> |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
<p align="center"><img src="https://raw.githubusercontent.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/scrot-colortest.png"/><blockquote>Font: <a href="https://adobe-fonts.github.io/source-code-pro">Source Code Pro</a> 12px.</blockquote></p> |
||||||
|
|
||||||
|
## Getting started |
||||||
|
### Installation |
||||||
|
#### Manual |
||||||
|
Copy the [`nord.theme`](https://github.com/arcticicestudio/nord-xfce-terminal/blob/develop/src/nord.theme) file to the local configuration directory `~/.local/share/xfce4/terminal/colorschemes`. |
||||||
|
|
||||||
|
#### Install Script |
||||||
|
The included `install.sh` shell script can be used for an automated installation. |
||||||
|
If no option is specified, the default theme file is `src/nord.theme`. |
||||||
|
|
||||||
|
A list of available options can be shown with the `--help` option. |
||||||
|
```shell |
||||||
|
./install.sh --help |
||||||
|
``` |
||||||
|
Syntax: `install.sh [OPTIONS]` |
||||||
|
|
||||||
|
| Option | Description | |
||||||
|
| --- | --- | |
||||||
|
| `-h`, `--help` | Shows the help | |
||||||
|
| `-v`, `--verbose` | Verbose output | |
||||||
|
| `-t <SCHEME_FILE>`, `--themefile <THEME_FILE>` | Use the specified theme file | |
||||||
|
|
||||||
|
### Activation |
||||||
|
1. Open the *Edit* menu and select *Preferences* |
||||||
|
2. Switch to the *Colors* tab |
||||||
|
3. Select `Nord` from the *Presets* drop-down menu |
||||||
|
|
||||||
|
![][scrot-readme-color-preset] |
||||||
|
|
||||||
|
## Screenshots |
||||||
|
<p align="center"><strong>htop</strong><br><img src="https://raw.githubusercontent.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/scrot-htop.png"/></p> |
||||||
|
|
||||||
|
## Development |
||||||
|
[![](https://img.shields.io/badge/Changelog-0.1.0-81A1C1.svg?style=flat-square)](https://github.com/arcticicestudio/nord-xfce-terminal/blob/v0.1.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg?style=flat-square)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg?style=flat-square)](https://github.com/arcticicestudio/arcver) |
||||||
|
|
||||||
|
### Contribution |
||||||
|
Please report issues/bugs, feature requests and suggestions for improvements to the [issue tracker](https://github.com/arcticicestudio/nord-xfce-terminal/issues). |
||||||
|
|
||||||
|
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/nord/develop/src/assets/banner-footer-mountains.svg" /></p> |
||||||
|
|
||||||
|
<p align="center">Copyright © 2016-present Arctic Ice Studio</p> |
||||||
|
|
||||||
|
<p align="center"><a href="https://github.com/arcticicestudio/nord-xfce-terminal/blob/develop/LICENSE.md"><img src="https://img.shields.io/badge/License-MIT-5E81AC.svg?style=flat-square"/></a> <a href="https://creativecommons.org/licenses/by-sa/4.0"><img src="https://img.shields.io/badge/License-CC_BY--SA_4.0-5E81AC.svg?style=flat-square"/></a></p> |
||||||
|
|
||||||
|
[scrot-readme-color-preset]: https://raw.githubusercontent.com/arcticicestudio/nord-xfce-terminal/develop/src/assets/scrot-readme-color-preset.png |
@ -0,0 +1,123 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com> |
||||||
|
# Copyright (c) 2016-present Sven Greb <code@svengreb.de> |
||||||
|
|
||||||
|
# Project: Nord XFCE Terminal |
||||||
|
# Repository: https://github.com/arcticicestudio/nord-xfce-terminal |
||||||
|
# License: MIT |
||||||
|
|
||||||
|
set -e |
||||||
|
|
||||||
|
_ct_error="\e[0;31m" |
||||||
|
_ct_success="\e[0;32m" |
||||||
|
_ct_warning="\e[0;33m" |
||||||
|
_ct_highlight="\e[0;34m" |
||||||
|
_ct_primary="\e[0;36m" |
||||||
|
_ct="\e[0;37m" |
||||||
|
_ctb_subtle="\e[1;30m" |
||||||
|
_ctb_error="\e[1;31m" |
||||||
|
_ctb_success="\e[1;32m" |
||||||
|
_ctb_warning="\e[1;33m" |
||||||
|
_ctb_highlight="\e[1;34m" |
||||||
|
_ctb_primary="\e[1;36m" |
||||||
|
_ctb="\e[1;37m" |
||||||
|
_c_reset="\e[0m" |
||||||
|
|
||||||
|
__help() { |
||||||
|
printf "${_ctb}Usage: ${_ct_primary}install.sh ${_ctb_subtle}[OPTIONS]\n" |
||||||
|
printf " ${_ctb_highlight}-h${_ct},${_ctb_highlight} --help ${_ct}Help\n" |
||||||
|
printf " ${_ctb_highlight}-v${_ct},${_ctb_highlight} --verbose ${_ct}Verbose output\n${_ctb_reset}" |
||||||
|
printf " ${_ctb_highlight}-t${_ct},${_ctb_highlight} --themefile <THEME_FILE> \ |
||||||
|
${_ct}Use the specified color theme file\n${_ctb_reset}" |
||||||
|
} |
||||||
|
|
||||||
|
__cleanup() { |
||||||
|
trap '' SIGINT SIGTERM |
||||||
|
unset -v _ct_error _ct_success _ct_warning _ct_highlight _ct_primary _ct |
||||||
|
unset -v _ctb_error _ctb_success _ctb_warning _ctb_highlight _ctb_primary _ctb _c_reset |
||||||
|
unset -v NORD_XFCE_TERMINAL_SCRIPT_OPTS THEME_FILE VERBOSE LOCAL_INSTALL NORD_XFCE_TERMINAL_VERSION |
||||||
|
unset -f __help __cleanup __log_error __log_success __log_warning __log_info |
||||||
|
unset -f __validate_file __local_install |
||||||
|
} |
||||||
|
|
||||||
|
__log_error() { |
||||||
|
printf "${_ctb_error}[ERROR] ${_ct}$1${_c_reset}\n" |
||||||
|
} |
||||||
|
|
||||||
|
__log_success() { |
||||||
|
printf "${_ctb_success}[OK] ${_ct}$1${_c_reset}\n" |
||||||
|
} |
||||||
|
|
||||||
|
__log_warning() { |
||||||
|
printf "${_ctb_warning}[WARN] ${_ct}$1${_c_reset}\n" |
||||||
|
} |
||||||
|
|
||||||
|
__log_info() { |
||||||
|
printf "${_ctb}[INFO] ${_ct}$1${_c_reset}\n" |
||||||
|
} |
||||||
|
|
||||||
|
__summary_success() { |
||||||
|
__log_success "Local installation completed" |
||||||
|
__cleanup |
||||||
|
exit 0 |
||||||
|
} |
||||||
|
|
||||||
|
__summary_error() { |
||||||
|
__log_error "An error occurred during the installation!" |
||||||
|
__log_error "Exit code: $1" |
||||||
|
__cleanup |
||||||
|
exit 1 |
||||||
|
} |
||||||
|
|
||||||
|
__local_install() { |
||||||
|
__validate_file |
||||||
|
if [ ! -d $LOCAL_INSTALL_DIR ]; then |
||||||
|
mkdir -p $LOCAL_INSTALL_DIR |
||||||
|
if [ $? -eq 0 ]; then |
||||||
|
if [ $VERBOSE = true ]; then __log_info "Created local directory $LOCAL_INSTALL_DIR"; fi |
||||||
|
else |
||||||
|
__log_error "Could not create local directory $LOCAL_INSTALL_DIR" |
||||||
|
__summary_error 1 |
||||||
|
fi |
||||||
|
fi |
||||||
|
cp -f $THEME_FILE $LOCAL_INSTALL_DIR |
||||||
|
if [ $? -eq 0 ]; then |
||||||
|
if [ $VERBOSE = true ]; then __log_success "Copied color theme file to $LOCAL_INSTALL_DIR"; fi |
||||||
|
__summary_success |
||||||
|
else |
||||||
|
__log_error "Could not copy color theme file to $LOCAL_INSTALL_DIR" |
||||||
|
__summary_error 1 |
||||||
|
fi |
||||||
|
} |
||||||
|
|
||||||
|
__validate_file() { |
||||||
|
if [ ! -f $THEME_FILE ]; then |
||||||
|
__log_error "Color theme file not found: $THEME_FILE" |
||||||
|
__summary_error 1 |
||||||
|
fi |
||||||
|
} |
||||||
|
|
||||||
|
trap "printf '${_ctb_error}User aborted.${_ctb_reset}\n' && exit 1" SIGINT SIGTERM |
||||||
|
|
||||||
|
NORD_XFCE_TERMINAL_SCRIPT_OPTS=`getopt -o vht: --long verbose,help,themefile: -n 'install.sh' -- "$@"` |
||||||
|
THEME_FILE=src/nord.theme |
||||||
|
VERBOSE=false |
||||||
|
LOCAL_INSTALL_DIR=~/.local/share/xfce4/terminal/colorschemes |
||||||
|
NORD_XFCE_TERMINAL_VERSION=0.1.0 |
||||||
|
|
||||||
|
eval set -- "$NORD_XFCE_TERMINAL_SCRIPT_OPTS" |
||||||
|
while true; do |
||||||
|
case "$1" in |
||||||
|
-v | --verbose ) VERBOSE=true; shift ;; |
||||||
|
-h | --help ) __help; exit 0; break ;; |
||||||
|
-t | --themefile ) |
||||||
|
THEME_FILE="$2"; shift 2 ;; |
||||||
|
-- ) shift; break ;; |
||||||
|
* ) break ;; |
||||||
|
esac |
||||||
|
done |
||||||
|
|
||||||
|
__local_install |
||||||
|
|
||||||
|
__cleanup |
||||||
|
exit 0 |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 107 KiB |
After Width: | Height: | Size: 330 KiB |
After Width: | Height: | Size: 102 KiB |
@ -0,0 +1,9 @@ |
|||||||
|
[Scheme] |
||||||
|
Name=Nord |
||||||
|
ColorCursor=#D8DEE9 |
||||||
|
ColorForeground=#D8DEE9 |
||||||
|
ColorBackground=#2E3440 |
||||||
|
TabActivityColor=#88C0D0 |
||||||
|
ColorPalette=#3B4252;#BF616A;#A3BE8C;#EBCB8B;#81A1C1;#B48EAD;#88C0D0;#E5E9F0;#4C566A;#BF616A;#A3BE8C;#EBCB8B;#81A1C1;#B48EAD;#8FBCBB;#ECEFF4 |
||||||
|
ColorBold=#D8DEE9 |
||||||
|
ColorBoldUseDefault=FALSE |
Loading…
Reference in new issue