Giter Site home page Giter Site logo

ciembor / 4bit Goto Github PK

View Code? Open in Web Editor NEW
980.0 980.0 182.0 693 KB

Terminal Color Scheme Designer

Home Page: http://ciembor.github.io/4bit/

License: GNU General Public License v3.0

Shell 5.70% JavaScript 59.48% HTML 12.61% Less 22.21%
color-scheme designer-tool terminal terminal-emulator terminal-emulators theme themes

4bit's Introduction

4bit Terminal Color Scheme Designer

4bit

For users

  1. Go to https://ciembor.github.io/4bit.
  2. Design your terminal look.
  3. Click Download Scheme button and select the format of configuration file.
  • ATerm, Urxvt, Rxvt, XTerm and other libXt terminals: Copy the generated text to ~/.Xresources file (you may have to create it) and run xrdb ~/.Xresources.

  • Gnome Terminal, Guake: Save the generated script into set_colors.sh, make this file executable $ chmod +x set_colors.sh and run it $ ./set_colors.sh. Alternatively copy generated lines directly into your shell.

  • XFCE4 Terminal: Save file as ~/.local/share/xfce4/terminal/colorschemes/4bit.scheme and choose it in terminal preferences.

  • Konsole and Yakuake: Put the generated file to ~/.kde/share/apps/konsole/NAME-OF-SCHEME.colorscheme and restart the terminal.

  • iTerm2 for Mac: Create a file ~/NAME-OF-SCHEME.itermcolors with the generated xml content and load it with the Load Presets ... button under iTerm2 / Preferences / Profiles / <Your Profile> / Colors.

  • Putty: Save the generated file with .reg extension and double click it.

  • Terminator: Copy lines within the [profiles] section of the generated configuration file to ~/.config/terminator/config file.

  • Alacritty: Put the generated file to ~/.config/alacritty/alacritty.yml.

  • Mintty: Copy the colors and save it in ~/.minttyrc.

  • Other terminals: Generate one of the supported formats and copy hex values into the configuration file (or tool) of your terminal.

For developers

You will need some system tools to run the build script:

After git clone run npm install. After that run ./build.sh. It generates compiled JavaScript, compiled LESS, and merged CSS. For compiling code for production run ./build.sh production.

Author

Maciej Ciemborowicz

Contributors

Stefan Wienert

Victor Hugo Borja

David 'vidister' Weber

Resources

4bit's People

Contributors

avindra avatar bcelary avatar ciembor avatar pspada avatar vic avatar vidister avatar zealot128 avatar zoomlogo 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

4bit's Issues

Guake 'get scheme' generated wrongly

The last line of the genrated commands after clicking on "get scheme" for guake terminals is not correct.
The order of the color strings is wrong, instead of having them twice in a row they should be all repeated at the end.
I am guessing the first half are for regular colors and the second half are for bold ones.

So, instead of
gconftool-2 -s -t string /apps/guake/style/font/palette '#000000000000:#000000000000:#d9d93a3a4242:#d9d93a3a4242:#4242d9d93a3a:#4242d9d93a3a:#d9d9d1d13a3a:#d9d9d1d13a3a:#3a3a4242d9d9:#3a3a4242d9d9:#d1d13a3ad9d9:#d1d13a3ad9d9:#3a3ad9d9d1d1:#3a3ad9d9d1d1:#ebebebebebeb:#ebebebebebeb'

it should actually be
gconftool-2 -s -t string /apps/guake/style/font/palette '#000000000000:#d9d93a3a4242:#4242d9d93a3a:#d9d9d1d13a3a:#3a3a4242d9d9:#d1d13a3ad9d9:#3a3ad9d9d1d1:#ebebebebebeb:#000000000000:#d9d93a3a4242:#4242d9d93a3a:#d9d9d1d13a3a:#3a3a4242d9d9:#d1d13a3ad9d9:#3a3ad9d9d1d1:#ebebebebebeb'

Ability to input a hex code for the color picker

For the things which allow you to directly choose a color (tint, bg, fg) it'd be nice to be able to input your own values. I often want to make a theme to match my wallpaper but I just have to guess the color with your miniscule picker

Can you explain what i'm looking at on the screen in the picture?

I have no idea the picture, what the rows and columns mean. And the picture almost looks like a terminal window I can type in, but I cant. so I think am I supposed to be able to type in there?

It's extremely confusing this thing. I dont see how it benefits me at all. I dont see how i can generate something and know I'll be happy with the final result because either, it doesnt show enough mockups, or not enough documentation to explain how to use this tool

Save state

If there isn't going to be an import option any time soon, at the very least it would be useful to have client-side saving using localStorage or something. Resetting to default on every page load isn't very user-friendly.

Dyeing doesn't get reflected in background color setting

When I set the background color to bright_black and use the dye feature it looks like the background color changes its color in the preview. But this is not reflected in the exported settings (tried with .minttyrc). For bright_black the background color always gets exported as BackgroundColour=34,34,34. This is not right, is it?

Support gnome-terminal with dconf/gsettings

I'm running Fedora 20 with XFCE4 and wanted to use gnome-terminal since it supports multiple profiles and seems faster than xterm. The script 4bit generates works with gconftool-2, but the version of gnome-terminal packaged with F20 looks at the dconf registry for settings.

This page may be useful, though I wasn't able to get very far (not much time to spend on the issue): https://wiki.gnome.org/Apps/Terminal/FAQ

Also there's this: https://github.com/sigurdga/gnome-terminal-colors-solarized/blob/master/install.sh

Import already existing color schemes

It would be awesome, if you could import, let's say your .Xresources and it would get parsed. Then you could work on it and finally when you're done export it back.

Clicking export links does nothing

When I click any of the Export scheme to configurations file, nothing happens

I expected a prompt to download the file or the text copied to clipboard but neither happened.

I managed to get around this by using "save link as"

Chrome 88.0.4324.182

how to recovery my default guake scheme?

OK, I change my scheme, but now I want to recovery my default guake scheme. And I don't know how to do it.
I try uninstall guake and remove its all config file, and then reinstall it. But it doesn't work.
THX

KDE konsole support

It would be nice to provide export to the konsole config file. Some people were asking for that. It looks it is stored somewhere in ~/share/apps/konsole.

Support for gnome-terminal

It would be nice to provide support for gnome terminal, some people were asking for that. gnome-terminal stores colors in .gconf/apps/gnome-terminal/profiles/ in %gconf.xml files.

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.