All Projects → GideonWolfe → Chameleon

GideonWolfe / Chameleon

Licence: other
🦎 Theme your linux system to match any image

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Chameleon

wal-discord
Generate Discord css from pywal colors
Stars: ✭ 76 (-20%)
Mutual labels:  ricing, pywal
vscode-wal
A color theme for visual studio code
Stars: ✭ 40 (-57.89%)
Mutual labels:  pywal
razer-cli
CLI for configuring Razer devices
Stars: ✭ 46 (-51.58%)
Mutual labels:  pywal
nyoom.nvim
Blazing fast, configurable, minimal and lispy neovim config written in Fennel and Rust. Base config for users to extend and add upon, leading to a more unique editing experience. (🚀)
Stars: ✭ 304 (+220%)
Mutual labels:  ricing
Theming-Android
Examples and tips on how to support multiple themes within your app
Stars: ✭ 40 (-57.89%)
Mutual labels:  theming
adonis
Adonis ❤️ Aphrodite
Stars: ✭ 44 (-53.68%)
Mutual labels:  theming
fzwal
A pywal theme picker with live preview based on fzf.
Stars: ✭ 27 (-71.58%)
Mutual labels:  pywal
flair
a lean, component-centric style system for React components
Stars: ✭ 19 (-80%)
Mutual labels:  theming
generator-nitro
Your frontend? Fuel it with Nitro! Develop your frontend with a proven but flexible Node.js app, even in a large team.
Stars: ✭ 65 (-31.58%)
Mutual labels:  theming
chadwm
Making dwm as beautiful as possible!
Stars: ✭ 619 (+551.58%)
Mutual labels:  ricing
dotfiles
My awesomewm dotfiles for awesome people! ✨
Stars: ✭ 1,764 (+1756.84%)
Mutual labels:  ricing
theme-change
Change CSS theme with toggle, buttons or select using CSS custom properties and localStorage
Stars: ✭ 283 (+197.89%)
Mutual labels:  theming
dotfiles
My desktop configuration files.
Stars: ✭ 422 (+344.21%)
Mutual labels:  ricing
Holi
Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!
Stars: ✭ 160 (+68.42%)
Mutual labels:  theming
dotfiles
dotfiles for my beautiful rices!
Stars: ✭ 440 (+363.16%)
Mutual labels:  ricing
Nginxy
FancyIndex Theme for Nginx same appearance of Apaxy for apache
Stars: ✭ 34 (-64.21%)
Mutual labels:  theming
svelte-themer
A theming engine for your Svelte apps using CSS Variables, persisted.
Stars: ✭ 88 (-7.37%)
Mutual labels:  theming
dotfiles
💻 🍚 🔳 🔲 My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (-42.11%)
Mutual labels:  ricing
laptop-dots
My dot files for my laptop (Thinkpad T460s)
Stars: ✭ 13 (-86.32%)
Mutual labels:  ricing
vuebersicht
A reimagining of Uebersicht, built with Electron, TypeScript, and Vue
Stars: ✭ 62 (-34.74%)
Mutual labels:  ricing

Chameleon

alt-text

This script acts as an extension to wal, by taking the generated colors and theming anything that can be themed, all in one script.

If the script detects you have certain programs on your system, it will try to generate themes for them.

The current programs are ones that I use, but feel free to add more and send a PR!

Examples

alt-text

Programs that use GTK themes like Thunar and Baobab should just pick up the theme, assuming you have selected the oomox-xresources-reverse theme in lxappearance. Spotify, Discord, Firefox, and gnuplot are shown here rocking their custom generated themes.

Programs that use Qt themes can also be configured to take themes from GTK, meaning we can theme them as well! The programs must be launched with the --style gtk2 flag, and you must install and configure qt5-styleplugins.

Installation

git clone https://github.com/GideonWolfe/Chameleon/
cd Chameleon
make install

Usage

  • chameleon -i [path to picture] [options for wal]
  • chameleon -t [wal theme] [options for wal]

Configuration

Configuration of chameleon is done through the file $HOME/.config/chameleon/config.yaml

Here, one can specify options specific to a single program, or even specify custom commands to be run every time you apply a theme.

Most programs will have a path attribute which may or may not be necessary depending on your setup. For example, if you were using a cloned, local version of wal-discord, one might want to specify a specific path where chameleon can find this specific executable.

If the path attribute is not given for a program, it is assumed that the program is located in your $PATH and will be run as a standalone command.

Programs supported

Planned support

Notes

To get the most complete theme possible, check out my dotfiles. Here you can find the configurations to get these colors on many other programs, such as rofi, polybar, firefox, and more. Since they update automatically, there was no need to include them in this script.

To apply icon themes, you need one of the icon sets supported by oomox. Change the icons section of the config file to look for the folder your desired icons are in, and change the command to the appropriate variant.

To use the new icon themes added to oomox, you have to create a executable file in $HOME/.local/bin with a similar naming schema like the example command used for gnome colors icon theme in config.yaml. The content of the executable should be something like:

#!/bin/bash
cd /opt/oomox
exec ./plugins/{path to change_color.sh file for your respective icon theme under plugins} "$@"

With the above executable created, all you have to do is to give it execute permission by using chmod +x and use the name of the executable as the command for your icon theme in the config.yaml file. Note: Make sure $HOME/.local/bin is added to your PATH.

Upgrade from v1 to v2

Simply delete the old chameleon executable at /usr/local/bin/chameleon. Now use chameleon.py which should be symlinked to $HOME/.local/bin/chameleon.py.

$HOME/.local/bin/ must be on your $PATH

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].