Git Product home page Git Product logo

gogh's People

Contributors

a7r3 avatar aalekseenkov avatar akyshnik avatar am-77 avatar b- avatar birobirobiro avatar bohlender avatar codeinred avatar danrneal avatar doomhammer avatar gabsbandeira avatar get-me-power avatar guillermoap avatar jack23247 avatar jackmiras avatar jgriemsmann avatar jonnyfairbanks96 avatar katerynarieznik avatar mgldvd avatar mixcoac avatar phenonymous avatar polemon avatar przemeklal avatar r3use avatar rafaelcz avatar rawiriblundell avatar showching avatar sriram-bb63 avatar thealio avatar ygkn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gogh's Issues

Doesn't working Debian

Script runs but appears to do nothing. Docs are not detailed on expected results. Terminal colors do not change in current or new terminal. Using Debian 9.

Not working on Arch

I'm using gnome terminal in Antergos (arch linux) and i'm not seeing any change after the script runs despite of there's no error at execution

Change eOS Terminal Box Window

Is Gogh in the future, somehow will support to change the color of ElementaryOS Terminal Box Window?

I think would be nice if the color of Terminal Box Window is white, like MacOS X.

Can I do install on Antergos?

Hello, I want to install Gogh for my gnome terminal, but due Antergos is not an based debian distribution, I can't use apt-get, I would use pacman -S, I try to use them, but it's not work, someone can help me?

_apply_colors.sh missing

The install references _apply_colors.sh which is never downloaded:

    ( 38 ) Tomorrow Night Eighties
    ( 39 ) ura
    ( 40 ) vag

Usage : Enter Theme Number (OPTION)
Enter OPTION : 34
Theme: Tomorrow
URL transformed to HTTPS due to an HSTS policy
--2017-04-15 13:06:15--  https://git.io/v3DRc
Resolving git.io (git.io)... 54.235.212.238, 54.235.210.130, 54.243.85.55, ...
Connecting to git.io (git.io)|54.235.212.238|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/tomorrow.sh [following]
--2017-04-15 13:06:15--  https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/tomorrow.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.124.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.124.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 733 [text/plain]
Saving to: ‘xt’

xt                           100%[==============================================>]     733  --.-KB/s    in 0s      

2017-04-15 13:06:15 (31.3 MB/s) - ‘xt’ saved [733/733]

################### HERE
./xt: line 30: /home/neil/src/neil/../_apply-colors.sh: No such file or directory
################### HERE              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

URL transformed to HTTPS due to an HSTS policy
--2017-04-15 13:06:15--  https://git.io/vY8Qq
Resolving git.io (git.io)... 54.235.135.158, 54.235.212.238, 54.235.210.130, ...
Connecting to git.io (git.io)|54.235.135.158|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/_apply-colors.sh [following]
--2017-04-15 13:06:16--  https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/_apply-colors.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.124.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.124.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7042 (6.9K) [text/plain]
Saving to: ‘STDOUT’

-                            100%[==============================================>]   6.88K  --.-KB/s    in 0s      

2017-04-15 13:06:16 (56.7 MB/s) - written to stdout [7042/7042]

rm: cannot remove 'xt': No such file or directory
################# ALSO where did this go?

Work on zsh

I'm currently using gnome-terminal emulating zsh, and the current code doesn't work.

Maybe, make it more generic.

chmod: changing permissions of 'gogh': Operation not permitted

It was working perfectly earlier then suddenly stopped. I no longer switch themes.
I tried with sudo too.
`shishir@shishir-GA-78LMT-S2PT:/$ sudo wget -O gogh https://git.io/vQgMr && chmod +x gogh && ./gogh && rm gogh
--2017-08-24 00:25:22-- https://git.io/vQgMr
Resolving git.io (git.io)... 50.19.234.45, 23.23.98.135, 23.23.134.171, ...
Connecting to git.io (git.io)|50.19.234.45|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Mayccoll/Gogh/master/gogh.sh [following]
--2017-08-24 00:25:24-- https://raw.githubusercontent.com/Mayccoll/Gogh/master/gogh.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.8.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.8.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4840 (4.7K) [text/plain]
Saving to: ‘gogh’

gogh 100%[===================>] 4.73K --.-KB/s in 0.001s

2017-08-24 00:25:24 (6.57 MB/s) - ‘gogh’ saved [4840/4840]

chmod: changing permissions of 'gogh': Operation not permitted
`
Without sudo also not working.

License?

Is there a license on the code in this repository? If there is one, I didn't see it. I would suggest the MIT license.

Expand installation guide

Hi, I had to uncomment the following line in .bashrc to get my terminal (Elementary OS 0.1) to not ignore the themes:

#force_color_prompt=yes

This might be something that should go in the documentation.

PS Thanks for your great work!

iTerm2

I'm gonna try to add iTerm2 support and I'm gonna need this:

#!/bin/bash

function convertRGBtoMac () {

    AA=${1:1:2}
    BB=${1:3:2}
    CC=${1:5:2}

    R="$((16#${AA} ))"
    G="$((16#${BB}))"
    B="$((16#${CC}))"

    R=$(echo "${R} / 255" | bc -l)
    G=$(echo "${G} / 255" | bc -l)
    B=$(echo "${B} / 255" | bc -l)

    echo $R $G $B
}

RESULT=$(convertRGBtoMac "#c73333")

echo $RESULT

INVALID OPTION! error when installing themes

You have an error in the gogh.sh script.

For example, if I want to install the theme Dracula, I run gogh.sh script enter 33 in input and instead of installing the theme I am getting the error - INVALID OPTION!

This happens because you have error on the line 218 in the gogh.sh script.

Expression

if [[ $OP < $ARRAYLENGTH ]]; then

is invalid, there must be

if (( OP < ARRAYLENGTH )); then

For advanced details please see this link - stackoverflow.

The "( 159 ) Zenburn" is not working?

When I selected 159, it said that:
...
( 158 ) Wryan
( 159 ) Zenburn
Usage : Enter Desired Themes Numbers (OPTIONS) Separated By A Blank Space
Enter OPTION(S) : 159
~ INVALID OPTION! ~

Anything wrong? Thanks!

Theme names.

Hi

Man i love your project , i started using it today , the only thing i took the liberty to modify is using them in the following format

export {PROFILE_NAME,PROFILE_SLUG}="One Light" && wget -O xt http://git.io/vs7UQ && chmod +x xt && ./xt && rm xt

So the name doesn't end like "Default".

I've also modified the themes.md page , so it reflects this , if you're ok with it i can create a PR

themes files modified:
themes.md.txt

dodge script that i used to do so:
transform.txt

thanks for your hard work on this.

How do you uninstall a theme?

I am stuck with the theme I installed. I tried to install others on top of it but it simply won't go away. How do I resolve this?

I coudn't install in elementary OS 0.3.2 Freya

I'd followed the instructions to install the aci theme but it gives an error. The error prompts this:

./xt: line 30: /home/myUser/../_apply-colors.sh: No such file or directory

Then the command line says:

2016-07-15 08:30:08 (116 KB/s) - written to stdout [7042/7042]

No value set for `/apps/gnome-terminal/global/profile_list'
rm: cannot remove ‘xt’: No such file or directory

How can I resolve this problem?

Option : Create a new profile instead of overwriting 'Default' one.

Hello, first of all thanks for your great work!

I was wondering if it was possible to add the option during the installation of a theme to create a new profile and applying the theme to this profile instead of overwriting 'Default' profile ?

I am using Gnome Terminal...

Thanks in advance

Move all scripts into a separate folder

Convert links to git.io

Not working in elementary OS

  • eOS Freya 0.3.2 64bit
  • gnome-terminal
  • zsh running on gnome-terminal
  • oh-my-zsh installed

The problem is that I have the same configuration above on a Linux Mint Mate, and it works very fine.

EDIT: the error: "my/folder/_apply-colors.sh: No such file or directory"
EDIT2: the problem is that I'm at a eOS but I don't use patheon.terminal.

On line 18 of _apply-colors.sh:

if [ $(lsb_release -c -s) = "freya" ]; then

which is not a good idea. Instead, try to infer which terminal is being used, or apply for both.

EDIT3: Made a pull request with a solution.

Not Working on Ubuntu

Same case as #40, but I'm on Ubuntu. Even created a new separate profile didn't help.

Ubuntu: 16.04

Electron App

Hello,
I'm looking for another approach to this.
Here I see a couple of inconvenience:

  • The URL shorter makes it difficult to contribute and update the repository.
  • It totally depends on the file download.

Because of this I think a good approach would be to create a complete application in electron.

Unfortunately my abilities with javascript do not allow me to do it.

I could contribute with the html and css and create some mockups
If someone has a proposal it is well received.

Thank you

Problem with different versions of gconftool

Hello, I was popping on to the latest build of Fedora, and was in the process of using your wonderful terminal theme software.

I kept hitting a problem with gconftool not being found, and this broke the installation process.
After some digging, I found something in apply-colors.sh line
[[ -z "$GCONFTOOL" ]] && GCONFTOOL=gconftool
Fedora 26 uses gconftool-2 instead of gconftool.

An easy fix is to create a symbolic link from gconftool-2 to gconftool, as their interface is largely the same.

Another suggestion would be to add error handling code to check for the appropriate version of gconfools.

This could be done using the "which function" to get the full path of gconftools as well as seeing it is installed.

I can open a pull request if needed

Can you add support for Linux tools for windows?

Apparently there is an error when you install theme saying the following:

`Gogh
████████████████████████████████████████

Themes:
( 01 ) aci
( 02 ) aco
( 03 ) azu
( 04 ) bim
( 05 ) cai
( 06 ) Chalk
( 07 ) Dracula
( 08 ) elementary
( 09 ) elic
( 10 ) elio
( 11 ) Flat
( 12 ) Freya
( 13 ) Hemisu Dark
( 14 ) Hemisu Light
( 15 ) Hybrid
( 16 ) jup
( 17 ) mar
( 18 ) Material Colors
( 19 ) miu
( 20 ) Monokai Dark
( 21 ) nep
( 22 ) Ocean Dark
( 23 ) One Dark
( 24 ) One Light
( 25 ) pali
( 26 ) Peppermint
( 27 ) sat
( 28 ) shel
( 29 ) Smyck
( 30 ) Solarized Dark
( 31 ) Solarized Light
( 32 ) tin
( 33 ) Tomorrow
( 34 ) Tomorrow Night
( 35 ) Tomorrow Night Blue
( 36 ) Tomorrow Night Bright
( 37 ) Tomorrow Night Eighties
( 38 ) ura
( 39 ) vag

Usage : Enter Theme Number (OPTION)
Enter OPTION :7
Theme: Dracula
--2016-10-11 09:07:24-- http://git.io/v3D8e
Resolving git.io (git.io)... 23.23.111.66, 54.243.161.116, 23.23.173.104
Connecting to git.io (git.io)|23.23.111.66|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.io/v3D8e [following]
--2016-10-11 09:07:24-- https://git.io/v3D8e
Connecting to git.io (git.io)|23.23.111.66|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/dracula.sh [following]
--2016-10-11 09:07:25-- https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/dracula.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.16.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.16.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1064 (1.0K) [text/plain]
Saving to: ‘xt’

100%[==============================================================================>] 1,064 --.-K/s in 0s

2016-10-11 09:07:25 (145 MB/s) - ‘xt’ saved [1064/1064]

./xt: line 30: /root/../_apply-colors.sh: No such file or directory
--2016-10-11 09:07:25-- http://git.io/vY8Qq
Resolving git.io (git.io)... 23.23.173.104, 54.243.161.116, 23.23.111.66
Connecting to git.io (git.io)|23.23.173.104|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.io/vY8Qq [following]
--2016-10-11 09:07:25-- https://git.io/vY8Qq
Connecting to git.io (git.io)|23.23.173.104|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/_apply-colors.sh [following]
--2016-10-11 09:07:26-- https://raw.githubusercontent.com/Mayccoll/Elementary-OS-Terminal-Colors/master/_apply-colors.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.16.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.16.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7042 (6.9K) [text/plain]
Saving to: ‘STDOUT’

100%[==============================================================================>] 7,042 --.-K/s in 0.002s

2016-10-11 09:07:26 (2.92 MB/s) - written to stdout [7042/7042]

/dev/fd/63: line 160: gconftool: command not found
/dev/fd/63: line 160: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found
/dev/fd/63: line 144: gconftool: command not found`

So gconftool doesn't exist

How do I remove styles?

Hello, few minutes ago I installed somes styles, and I found a perfect one for me, now I want to remove remaining styles that I installed and I'll not use, how can I do it?

My linux distro is: Antergos

Doesn't work on Ubuntu 15.04

After the update to Gnome Terminal 3.14.2, none of the theme works by their one-liner installs. It is probably because from the apply_colors.sh file, the following lines don't work anymore :

gconftool-2 --set /apps/gnome-terminal/profiles/Default/use_theme_background --type bool false
gconftool-2 --set /apps/gnome-terminal/profiles/Default/use_theme_colors --type bool false
gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/background_color "${BACKGROUND_COLOR}"
gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/foreground_color "${FOREGROUND_COLOR}"
gconftool-2 -s -t string /apps/gnome-terminal/profiles/Default/palette "${COLOR_01}:${COLOR_02}:${COLOR_03}:${COLOR_04}:${COLOR_05}:${COLOR_06}:${COLOR_07}:${COLOR_08}:${COLOR_09}:${COLOR_10}:${COLOR_11}:${COLOR_12}:${COLOR_13}:${COLOR_14}:${COLOR_15}:${COLOR_16}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.