Coder Social home page Coder Social logo

smurphos / oomox-gtk-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from themix-project/oomox-gtk-theme

0.0 0.0 0.0 78.98 MB

Oomox-gtk-theme is a fork of Numix-gtk-theme. It is used in Oomox app.

Home Page: https://github.com/actionless/oomox

License: GNU General Public License v3.0

Makefile 0.19% Shell 1.96% CSS 95.14% Smarty 2.18% Dockerfile 0.09% Python 0.44%

oomox-gtk-theme's Introduction

oomox-gtk-theme

Oomox-gtk-theme is a fork of Numix-gtk-theme. It is used in oomox app: https://github.com/themix-project/oomox

Theme examples

Screenshot Light Screenshot Medium Screenshot Dark

Prerequisites

You need to have those dependencies:

  • glib-compile-schemas
  • gdk-pixbuf-pixdata
  • sassc>=3.4
  • gtk3>=3.18

For GTK2 you need murrine engine which can be not installed by default.

Arch Linux
sudo pacman -S --needed bash grep sed bc glib2 gdk-pixbuf2 sassc gtk-engine-murrine gtk-engines librsvg
Ubuntu
sudo apt install libgdk-pixbuf2.0-dev libxml2-utils gtk2-engines-murrine librsvg2-bin

And install sassc>=3.4: https://askubuntu.com/questions/849057/how-to-install-libsass-on-ubuntu-16-04

How to generate the theme using CLI:

bash:
git clone https://github.com/themix-project/oomox-gtk-theme.git
cd oomox-gtk-theme
./change_color.sh -o my-test-theme <(echo -e "BG=888a85\nBTN_BG=85509b\nBTN_FG=0e0021\nFG=0e0021\nGRADIENT=0.0\nHDR_BTN_BG=85509b\nHDR_BTN_FG=0e0021\nHDR_BG=0e0021\nHDR_FG=888a85\nROUNDNESS=4\nSEL_BG=dc5e86\nSEL_FG=000000\nSPACING=3\nTXT_BG=c0bbbb\nTXT_FG=000000\nWM_BORDER_FOCUS=9edc60\nWM_BORDER_UNFOCUS=0e0021\n")
fish:
git clone https://github.com/themix-project/oomox-gtk-theme.git
cd oomox-gtk-theme
./change_color.sh -o my-test-theme (echo -e "BG=888a85\nBTN_BG=85509b\nBTN_FG=0e0021\nFG=0e0021\nGRADIENT=0.0\nHDR_BTN_BG=85509b\nHDR_BTN_FG=0e0021\nHDR_BG=0e0021\nHDR_FG=888a85\nROUNDNESS=4\nSEL_BG=dc5e86\nSEL_FG=000000\nSPACING=3\nTXT_BG=c0bbbb\nTXT_FG=000000\nWM_BORDER_FOCUS=9edc60\nWM_BORDER_UNFOCUS=0e0021\n" | psub)

next select my-test-theme in your appearance config tool (for example, lxappearance)

Hacking

Running tests locally:

cd ./docker_scripts/

# build container:
./build_docker_image.sh

# start container:
./start_docker_container.sh

# run tests:
./run_docker_tests.sh

Alternatively, to avoid rebuilding the container after each small theme change, you can start already built container and mount the current working directory inside that container:

# start container:
./docker_scripts/dev_docker_container.sh

Generate new screenshots:

# assuming container is already started:
./docker_scripts/run_docker_tests.sh -e GENERATE_ASSETS=1

Generate screenshots only for specific theme variant:

./docker_scripts/run_docker_tests.sh -e GENERATE_ASSETS=1 -e SKIP_GTK2=1 -e TEST_THEMES=clearlooks -e TESTSUITE_HIDPI=1

oomox-gtk-theme's People

Contributors

achadwick avatar actionless avatar alex-chew avatar andia89 avatar cldx avatar corbin-auriti avatar cwendling avatar dasjoe avatar flandolfi avatar jbicha avatar jeweloper avatar khurshid-alam avatar lbssousa avatar leoetlino avatar livanh avatar lots0logs avatar m-e-h avatar marmis85 avatar megax avatar nana-4 avatar nazar-pc avatar neeasade avatar ochosi avatar progandy avatar sammyshp avatar satya164 avatar smurphos avatar tiz-huglife avatar vanillajonathan avatar veganism avatar

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.