Code Monkey home page Code Monkey logo

autotheme.sh's Introduction

autotheme.sh

https://u.teknik.io/xFxa0g.webm

This repo is a mash up of the following projects/programs:

How do I use this?

You will need the following dependencies: libpng, gtk2, libfann, and optionally, feh.

This has been primarily used on Arch and there have been issues with other distros due to older libpng versions.

After cloning:

./setup.sh
./autotheme.sh "/path/to/image.file"

setup.sh will compile the small gtkrc reload program and pull down the git submodules. It will also copy the acyl icons folder to ~/.icons/acyl.

autotheme.sh

This script does the following:

  • Generate colors from an image with urnn
  • Make a gtk script from said colors with oomox(named 'oomox-auto')
  • Call the acyl coloring bash script with the previously generated foreground color
  • replace the gtk theme and icon theme values in your ~/.gtkrc-2.0 file
  • Calls the gtkrc-reload program to live-reload your gtk programs
  • Puts the generated colors in ./colors.xresources and calls xrdb merge on them for your terminal colorscheme
  • If you have feh, the image will be set as your background.

misc

  • The terminal in the webm is termite, which can autoreload it's settings.
  • The panel in the webm is from my dotfiles
  • Thanks to Hexarei for playing guinea pig.

autotheme.sh's People

Contributors

neeasade avatar

Watchers

 avatar  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.