diff --git a/README.md b/README.md index 0d50ab2..bb8b8a9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,98 @@ -# terminal-profile -This is my profile for UNIX (MacOS/Linux) terminals. +# Pixegami Terminal Profile + +This is my profile for UNIX (MacOS/Linux) terminals. For Ubuntu, I just use the default terminal +app. For MacOS, I use [iTerm2](https://iterm2.com/). + +> In the MacOS case, I have successfully installed this theme once before, but most of the terminal commands +> will be different. You'll just have to open the `.sh` files and figure out how to adapt it to MacOS +> until I can prepare MacOS commands. + +# Prerequisites + +For the scripts to work, I think these are the bare minimum requirements. + +```bash +# Update your software repositories. +sudo apt-get update +sudo apt-get upgrade + +# Install Git. +sudo apt-get install -y git + +# Install Vim. +sudo apt-get install -y vim +``` + +# Installation + +### Powerline (and fonts) + +First, we'll install the font (RobotoMono for Powerline). I'll also install it into VIM, since that +is my built-in editor of choice (but you don't have to use it). + +The Powerline fonts also include special characters (like Git branches) that we will use later in +the terminal profile theme. + +```bash +./install_powerline.sh +``` + +### ZSH, OhMyZSH and Plugins + +The shell that I use is "ZSH", with the OhMyZSH upgrade on top of that. To install all of that stuff, +you can run the helper script (and may need to restart after). + +```bash +./install_terminal.sh +``` + +This script will also install two plugins that I like to use: auto-complete and color highlighting. + +```bash +# You don't need to execute this - it's part of the script already. +(cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/zsh-users/zsh-syntax-highlighting) +(cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/zsh-users/zsh-autosuggestions) +``` + +And finally it will also copy over the `.zshrc` and `pixegami-agnoster.zsh-theme` files for the +terminal to use (which will wire up the plugins and the theme). + +If it looks funky after this command, then you might need to wait until the theme is updated with a +Powerline font (the next step), and may need to also restart your machine. + +### Profile (font and color) + +The last command is to create a terminal profile that will set the colors and also set the font +to be the Powerline one we installed earlier (required for the theme to display correctly). + +```bash +./install_profile_theme.sh +``` + +You can also change the font to any of the other [Powerline Patched Fonts](https://github.com/powerline/fonts) too if you don't like RobotoMono. + + +## Notes + +How to dump current terminal profiles. + +```bash +dconf dump /org/gnome/terminal/legacy/profiles:/ > gnome-terminal-profiles.dconf +``` + +How to display terminal information (I use [Neofetch](https://github.com/dylanaraps/neofetch)). + +```bash +sudo apt-get install neofetch + +# Display the profile +neofetch +``` + +## Sources + +Here are some of the main resources I used as part of this terminal setup. + +[Oh My Zsh!](https://medium.com/wearetheledger/oh-my-zsh-made-for-cli-lovers-installation-guide-3131ca5491fb) | [Robby Russel OMZ](https://github.com/robbyrussell/oh-my-zsh) | [Install Powerline](https://askubuntu.com/questions/283908/how-can-i-install-and-use-powerline-plugin) | [Powerline Patched Fonts](https://github.com/powerline/fonts) +| [Agnoster Theme](https://gist.github.com/3712874) + diff --git a/configs/.vimrc b/configs/.vimrc new file mode 100644 index 0000000..da22ae9 --- /dev/null +++ b/configs/.vimrc @@ -0,0 +1,14 @@ +" VIM Configuration Profile + +" Use the PowerLine plugin. Change Python directory if needed. +set rtp+=$HOME/.local/lib/python3.8/site-packages/powerline/bindings/vim/ + +" Always show statusline +set laststatus=2 + +" Use 256 colours (Use this setting only if your terminal supports 256 colours) +set t_Co=256 + +" Always show the command as it is being typed. +set showcmd + diff --git a/configs/.zshrc b/configs/.zshrc new file mode 100644 index 0000000..79f5ab8 --- /dev/null +++ b/configs/.zshrc @@ -0,0 +1,96 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. + export ZSH=~/.oh-my-zsh + +# Set name of the theme to load. Optionally, if you set this to "random" +# it'll load a random theme each time that oh-my-zsh is loaded. +# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes +ZSH_THEME="pixegami-agnoster" + +# Set list of themes to load +# Setting this variable when ZSH_THEME=random +# cause zsh load theme from this variable instead of +# looking in ~/.oh-my-zsh/themes/ +# An empty array have no effect +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. Case +# sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment the following line to disable bi-weekly auto-update checks. +# DISABLE_AUTO_UPDATE="true" + +# Uncomment the following line to change how often to auto-update (in days). +# export UPDATE_ZSH_DAYS=13 + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) +# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=( + git + zsh-syntax-highlighting + zsh-autosuggestions +) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# ssh +# export SSH_KEY_PATH="~/.ssh/rsa_id" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" diff --git a/configs/pixegami-agnoster.zsh-theme b/configs/pixegami-agnoster.zsh-theme new file mode 100755 index 0000000..7e4fab8 --- /dev/null +++ b/configs/pixegami-agnoster.zsh-theme @@ -0,0 +1,208 @@ +# vim:ft=zsh ts=2 sw=2 sts=2 +# +# Original agnoster's Theme - https://gist.github.com/3712874 +# A Powerline-inspired theme for ZSH +# Pixegami: Modified some elements to suit my Python/Git heavy use. + + +CURRENT_BG='NONE' + +# Special Powerline characters + +() { + local LC_ALL="" LC_CTYPE="en_US.UTF-8" + # NOTE: This segment separator character is correct. In 2012, Powerline changed + # the code points they use for their special characters. This is the new code point. + # If this is not working for you, you probably have an old version of the + # Powerline-patched fonts installed. Download and install the new version. + # Do not submit PRs to change this unless you have reviewed the Powerline code point + # history and have new information. + # This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of + # what font the user is viewing this source code in. Do not replace the + # escape sequence with a single literal character. + # Do not change this! Do not make it '\u2b80'; that is the old, wrong code point. + SEGMENT_SEPARATOR=$'\ue0b0' +} + +# Begin a segment +# Takes two arguments, background and foreground. Both can be omitted, +# rendering default background/foreground. +prompt_segment() { + local bg fg + [[ -n $1 ]] && bg="%K{$1}" || bg="%k" + [[ -n $2 ]] && fg="%F{$2}" || fg="%f" + if [[ $CURRENT_BG != 'NONE' && $1 != $CURRENT_BG ]]; then + echo -n " %{$bg%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR%{$fg%} " + else + echo -n "%{$bg%}%{$fg%} " + fi + CURRENT_BG=$1 + [[ -n $3 ]] && echo -n $3 +} + +# End the prompt, closing any open segments +prompt_end() { + if [[ -n $CURRENT_BG ]]; then + echo -n " %{%k%F{$CURRENT_BG}%}$SEGMENT_SEPARATOR" + else + echo -n "%{%k%}" + fi + echo -n "%{%f%}" + CURRENT_BG='' +} + +### Prompt components +# Each component will draw itself, and hide itself if no information needs to be shown + +# Context: user@hostname (who am I and where am I) +prompt_context() { + prompt_segment 008 010 "%(!.%{%F{yellow}%}.)%n" +} + +# Git: branch/detached head, dirty status +prompt_git() { + (( $+commands[git] )) || return + local PL_BRANCH_CHAR + () { + local LC_ALL="" LC_CTYPE="en_US.UTF-8" + PL_BRANCH_CHAR=$'\ue0a0' #  + } + local ref dirty mode repo_path + repo_path=$(git rev-parse --git-dir 2>/dev/null) + + if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then + dirty=$(parse_git_dirty) + ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git rev-parse --short HEAD 2> /dev/null)" + if [[ -n $dirty ]]; then + prompt_segment yellow black + else + prompt_segment 014 002 + fi + + if [[ -e "${repo_path}/BISECT_LOG" ]]; then + mode=" " + elif [[ -e "${repo_path}/MERGE_HEAD" ]]; then + mode=" >M<" + elif [[ -e "${repo_path}/rebase" || -e "${repo_path}/rebase-apply" || -e "${repo_path}/rebase-merge" || -e "${repo_path}/../.dotest" ]]; then + mode=" >R>" + fi + + setopt promptsubst + autoload -Uz vcs_info + + zstyle ':vcs_info:*' enable git + zstyle ':vcs_info:*' get-revision true + zstyle ':vcs_info:*' check-for-changes true + zstyle ':vcs_info:*' stagedstr '+' + zstyle ':vcs_info:*' unstagedstr '-' + zstyle ':vcs_info:*' formats ' %u%c' + zstyle ':vcs_info:*' actionformats ' %u%c' + vcs_info + echo -n "${ref/refs\/heads\//$PL_BRANCH_CHAR }${vcs_info_msg_0_%% }${mode}" + fi +} + +prompt_bzr() { + (( $+commands[bzr] )) || return + if (bzr status >/dev/null 2>&1); then + status_mod=`bzr status | head -n1 | grep "modified" | wc -m` + status_all=`bzr status | head -n1 | wc -m` + revision=`bzr log | head -n2 | tail -n1 | sed 's/^revno: //'` + if [[ $status_mod -gt 0 ]] ; then + prompt_segment yellow black + echo -n "bzr@"$revision "✚ " + else + if [[ $status_all -gt 0 ]] ; then + prompt_segment yellow black + echo -n "bzr@"$revision + + else + prompt_segment green black + echo -n "bzr@"$revision + fi + fi + fi +} + +prompt_hg() { + (( $+commands[hg] )) || return + local rev status + if $(hg id >/dev/null 2>&1); then + if $(hg prompt >/dev/null 2>&1); then + if [[ $(hg prompt "{status|unknown}") = "?" ]]; then + # if files are not added + prompt_segment red white + st='±' + elif [[ -n $(hg prompt "{status|modified}") ]]; then + # if any modification + prompt_segment yellow black + st='±' + else + # if working copy is clean + prompt_segment green black + fi + echo -n $(hg prompt "☿ {rev}@{branch}") $st + else + st="" + rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g') + branch=$(hg id -b 2>/dev/null) + if `hg st | grep -q "^\?"`; then + prompt_segment red black + st='±' + elif `hg st | grep -q "^[MA]"`; then + prompt_segment yellow black + st='±' + else + prompt_segment green black + fi + echo -n "☿ $rev@$branch" $st + fi + fi +} + +# Dir: current working directory +prompt_dir() { + # prompt_segment 008 010 $(basename `pwd`) +} + +# Virtualenv: current working virtualenv +prompt_virtualenv() { + if [[ -n $CONDA_PROMPT_MODIFIER ]]; then + prompt_segment black default ${CONDA_PROMPT_MODIFIER:1:-2} + fi +} + +# Status: +# - was there an error +# - am I root +# - are there background jobs? +prompt_status() { + local symbols + symbols=() + [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}✘" + [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡" + [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙" + + [[ -n "$symbols" ]] && prompt_segment black default "$symbols" +} + +prompt_head() { + echo "\r " # Clear prevous line + echo "\r %{%F{8}%}[%64<..<%~%<<]" # Print Dir. +} + +## Main prompt +build_prompt() { + RETVAL=$? + prompt_head + prompt_status + prompt_virtualenv + prompt_context + # prompt_dir + prompt_git + prompt_bzr + prompt_hg + prompt_end +} + +PROMPT='%{%f%b%k%}$(build_prompt) ' diff --git a/configs/terminal_profile.dconf b/configs/terminal_profile.dconf new file mode 100644 index 0000000..095847f --- /dev/null +++ b/configs/terminal_profile.dconf @@ -0,0 +1,16 @@ +[/] +background-color='rgb(12,28,37)' +background-transparency-percent=3 +bold-color='#bdbdc3c3c7c7' +bold-color-same-as-fg=true +custom-command='' +font='Roboto Mono for Powerline 14' +foreground-color='rgb(134,255,175)' +login-shell=false +palette=['rgb(21,37,53)', 'rgb(255,60,60)', 'rgb(73,255,109)', 'rgb(255,188,81)', 'rgb(61,182,249)', 'rgb(142,68,173)', 'rgb(22,160,133)', 'rgb(189,195,199)', 'rgb(38,56,75)', 'rgb(255,60,76)', 'rgb(147,255,145)', 'rgb(255,208,87)', 'rgb(91,215,255)', 'rgb(155,89,182)', 'rgb(32,92,87)', 'rgb(255,255,255)'] +use-custom-command=false +use-system-font=false +use-theme-colors=false +use-theme-transparency=false +use-transparent-background=false +visible-name='Pixegami' diff --git a/fonts/RobotoMono/LICENSE.txt b/fonts/RobotoMono/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/fonts/RobotoMono/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/fonts/RobotoMono/README.rst b/fonts/RobotoMono/README.rst new file mode 100644 index 0000000..c068ac5 --- /dev/null +++ b/fonts/RobotoMono/README.rst @@ -0,0 +1,24 @@ +Roboto Mono is a monospaced addition to the +`Roboto `__ type family. +Like the other members of the Roboto family, the fonts are optimized for +readability on screens across a wide variety of devices and reading +environments. While the monospaced version is related to its variable +width cousin, it doesn’t hesitate to change forms to better fit the +constraints of a monospaced environment. For example, narrow glyphs like +‘I’, ‘l’ and ‘i’ have added serifs for more even texture while wider +glyphs are adjusted for weight. Curved caps like ‘C’ and ‘O’ take on the +straighter sides from Roboto Condensed. + +Special consideration is given to glyphs important for reading and +writing software source code. Letters with similar shapes are easy to +tell apart. Digit ‘1’, lowercase ‘l’ and capital ‘I’ are easily +differentiated as are zero and the letter ‘O’. Punctuation important for +code has also been considered. For example, the curly braces ‘{ }’ have +exaggerated points to clearly differentiate them from parenthesis ‘( )’ +and braces ‘[ ]’. Periods and commas are also exaggerated to identify +them more quickly. The scale and weight of symbols commonly used as +operators have also been optimized. + +:Font creator: Google +:Source: https://github.com/google/fonts/tree/master/apache/robotomono +:Patched by: `Evan McClain `_ diff --git a/fonts/RobotoMono/Roboto Mono Bold Italic for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Bold Italic for Powerline.ttf new file mode 100644 index 0000000..b5fee07 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Bold Italic for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Bold for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Bold for Powerline.ttf new file mode 100644 index 0000000..b927485 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Bold for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Italic for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Italic for Powerline.ttf new file mode 100644 index 0000000..1bdada0 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Italic for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Light Italic for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Light Italic for Powerline.ttf new file mode 100644 index 0000000..807e490 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Light Italic for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Light for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Light for Powerline.ttf new file mode 100644 index 0000000..b7995f9 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Light for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Medium Italic for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Medium Italic for Powerline.ttf new file mode 100644 index 0000000..c899eef Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Medium Italic for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Medium for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Medium for Powerline.ttf new file mode 100644 index 0000000..5297fae Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Medium for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Thin Italic for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Thin Italic for Powerline.ttf new file mode 100644 index 0000000..4f43d55 Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Thin Italic for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono Thin for Powerline.ttf b/fonts/RobotoMono/Roboto Mono Thin for Powerline.ttf new file mode 100644 index 0000000..375aaab Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono Thin for Powerline.ttf differ diff --git a/fonts/RobotoMono/Roboto Mono for Powerline.ttf b/fonts/RobotoMono/Roboto Mono for Powerline.ttf new file mode 100644 index 0000000..580460b Binary files /dev/null and b/fonts/RobotoMono/Roboto Mono for Powerline.ttf differ diff --git a/fonts/RobotoMono/fonts.dir b/fonts/RobotoMono/fonts.dir new file mode 100644 index 0000000..2629ba5 --- /dev/null +++ b/fonts/RobotoMono/fonts.dir @@ -0,0 +1,141 @@ +140 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Bold for Powerline.ttf -misc-Roboto Mono for Powerline-bold-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Bold Italic for Powerline.ttf -misc-Roboto Mono for Powerline-bold-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono for Powerline.ttf -misc-Roboto Mono for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Italic for Powerline.ttf -misc-Roboto Mono for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Light for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Light Italic for Powerline.ttf -misc-Roboto Mono Light for Powerline-light-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Medium for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Medium Italic for Powerline.ttf -misc-Roboto Mono Medium for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Thin for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-ascii-0 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-13 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-7 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Thin Italic for Powerline.ttf -misc-Roboto Mono Thin for Powerline-medium-i-normal--0-0-0-0-p-0-koi8-ru diff --git a/fonts/RobotoMono/fonts.scale b/fonts/RobotoMono/fonts.scale new file mode 100644 index 0000000..388c67e --- /dev/null +++ b/fonts/RobotoMono/fonts.scale @@ -0,0 +1,141 @@ +140 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Bold Italic for Powerline.ttf -misc-roboto mono for powerline-bold-i-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Bold for Powerline.ttf -misc-roboto mono for powerline-bold-r-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Italic for Powerline.ttf -misc-roboto mono for powerline-medium-i-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Light Italic for Powerline.ttf -misc-roboto mono light for powerline-light-i-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Light for Powerline.ttf -misc-roboto mono light for powerline-light-r-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Medium Italic for Powerline.ttf -misc-roboto mono medium for powerline-medium-i-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Medium for Powerline.ttf -misc-roboto mono medium for powerline-medium-r-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Thin Italic for Powerline.ttf -misc-roboto mono thin for powerline-light-i-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-koi8-e +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-koi8-u +Roboto Mono Thin for Powerline.ttf -misc-roboto mono thin for powerline-light-r-normal--0-0-0-0-p-0-koi8-uni +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso10646-1 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-1 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-10 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-15 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-2 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-3 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-4 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-5 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-iso8859-9 +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-koi8-e +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-koi8-r +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-koi8-ru +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-koi8-u +Roboto Mono for Powerline.ttf -misc-roboto mono for powerline-medium-r-normal--0-0-0-0-p-0-koi8-uni diff --git a/fonts/install.sh b/fonts/install.sh new file mode 100644 index 0000000..673b8cf --- /dev/null +++ b/fonts/install.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# Set source and target directories +powerline_fonts_dir="$( cd "$( dirname "$0" )" && pwd )" + +# if an argument is given it is used to select which fonts to install +prefix="$1" + +if test "$(uname)" = "Darwin" ; then + # MacOS + font_dir="$HOME/Library/Fonts" +else + # Linux + font_dir="$HOME/.local/share/fonts" + mkdir -p $font_dir +fi + +# Copy all fonts to user fonts directory +echo "Copying fonts..." +find "$powerline_fonts_dir" \( -name "$prefix*.[ot]tf" -or -name "$prefix*.pcf.gz" \) -type f -print0 | xargs -0 -n1 -I % cp "%" "$font_dir/" + +# Reset font cache on Linux +if which fc-cache >/dev/null 2>&1 ; then + echo "Resetting font cache, this may take a moment..." + fc-cache -f "$font_dir" +fi + +echo "Powerline fonts installed to $font_dir" diff --git a/install_powerline.sh b/install_powerline.sh new file mode 100755 index 0000000..1b05bc7 --- /dev/null +++ b/install_powerline.sh @@ -0,0 +1,13 @@ +# Fail on any command. +set -euxo pipefail + +# Install Powerline for VIM. +sudo apt install -y python3-pip +pip3 install --user powerline-status +sudo cp configs/.vimrc ~/.vimrc +sudo apt install -y fonts-powerline + +# Install Patched Font +mkdir ~/.fonts +sudo cp -a fonts/. ~/.fonts/ +fc-cache -vf ~/.fonts/ \ No newline at end of file diff --git a/install_profile_theme.sh b/install_profile_theme.sh new file mode 100755 index 0000000..14dc9ad --- /dev/null +++ b/install_profile_theme.sh @@ -0,0 +1,20 @@ +# Fail on any command. +set -euxo pipefail + +# Color Theme +dconf load /org/gnome/terminal/legacy/profiles:/:fb358fc9-49ea-4252-ad34-1d25c649e633/ < configs/terminal_profile.dconf + +# Add it to the default list in the terminal +add_list_id=fb358fc9-49ea-4252-ad34-1d25c649e633 +old_list=$(dconf read /org/gnome/terminal/legacy/profiles:/list | tr -d "]") + +if [ -z "$old_list" ] +then + front_list="[" +else + front_list="$old_list, " +fi + +new_list="$front_list'$add_list_id']" +dconf write /org/gnome/terminal/legacy/profiles:/list "$new_list" +dconf write /org/gnome/terminal/legacy/profiles:/default "'$add_list_id'" diff --git a/install_terminal.sh b/install_terminal.sh new file mode 100755 index 0000000..afd34a6 --- /dev/null +++ b/install_terminal.sh @@ -0,0 +1,19 @@ +# Fail on any command. +set -euxo pipefail + +# Install ZSH +sudo apt install -y git-core zsh curl +sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + +# Install plug-ins (you can git-pull to update them later). +(cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/zsh-users/zsh-syntax-highlighting) +(cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/zsh-users/zsh-autosuggestions) + +# Replace the configs with the saved one. +sudo cp configs/.zshrc ~/.zshrc + +# Copy the modified Agnoster Theme +sudo cp configs/pixegami-agnoster.zsh-theme ~/.oh-my-zsh/themes/pixegami-agnoster.zsh-theme + +# Switch the shell. +chsh -s $(which zsh)