Skip to content
/ wpgtk Public
forked from deviantfero/wpgtk

wpg is a GUI for a little program called wp to manage your wallpapers

License

Notifications You must be signed in to change notification settings

rscmbbng/wpgtk

 
 

Repository files navigation

wpg

An accesible and easy to install colorscheme and theme generator for Openbox, tint2 and GTK.

See What it can do!

http://webmshare.com/play/zMm1z Dynamic themes color editor

wpg is a GUI for a little program called wp ( original source below ) to manage your wallpapers in a simple way, it integrates a script wich takes the colors in the image of your preference and sets up an .Xresources file to match your term colors with your wallpaper, you can now also modify this generated colorschemes color by color to your content.

it can take a little while to generate the color pallet.


Now avialable in AUR

yaourt -S wpgtk-git

Version

2.8

Features added

i

  • Special Openbox theme so that window borders change with your wallpaper
  • Special Icon set included that changes with your wallpaper
  • It also changes a special GTK theme automatically
  • It uses random colors from the image, so you can repeat until you're satisfied
  • It comes with special themes solely for the purpose of being dynamic, so no need for any complicated configuration
  • you can modify the themes to a certain degree. So feel free to do it!
  • It saves all colors of the current wallpapers in two files, one named ".colors" and another named ".main_colors" the latter contains the colors used by window borders at that time.
  • If you specify a color in your .Xresources it will not be overriden by wpgtk
  • You can now choose a colorscheme generated for a wallpaper in whichever wallpaper you'd like.
  • If you need a pair of colors predefined, just specify them on your .Xresources
  • If you want the background color that wp gives you, on your terminal set your bg color to 0 like this
URxvt*background: 0
  • you can now modify the colorschemes you are provided color by color, no more same color in 2 spaces, now you are in control
Important feature added
  • now wpgtk supports optional files, that means that it supports every window manager as long as it's colors are defined in a textfile and hexagesimal values

example

all you need to do, is copy your config file to ~/.themes/color_other/ add a ".base" at the end, and replace your active and inactive states colors with COLORACT and COLORIN respectively. wpg will generate a config file each time it runs with their respective color.

this would be .base file of your wm config INPUT

this would be the output config OUTPUT

wpg and i3

It then becomes possible to then replace your WM's configuration file with a link to the output config of wpg:

ln -s  ~/.themes/color_other/config_i3 ~/.i3/config

Installation

if you are in Ubuntu, Debian or Arch linux, the installer will take care of dependencies on it's own.

do the following

$ git clone http://github.com/deviantfero/wpgtk
$ cd ~/wpgtk
$ sh ./installcolor.sh

after doing this there just a few more steps to get a dynamic theme going

  • Select colorbamboo or colorbamboo_nb (no_borders) as your openbox window theme
  • Select Flatcolor as your GTK theme
  • Select flattrcolor as your Icon theme
  • you're good to go!

you need to uninstall any other wallpaper manager as it will override this one at startup.

now to actually run the program just

$ wpg
Loading at Startup

to load your new wallpaper at startup along with the colors add the following to your startup script or simply add it into your startup apps in your DE of choice, if you already use feh as your wallpaper manager, remember to remove it from your start up config.

bash ~/.wallpapers/wp_init.sh
Dependencies

wpg has some dependencies:

  • python2-pillow ( on arch )
  • feh
  • python-gobject
  • you need to use urxvt or xterm for it to work on your terminal colors

Arch

$ sudo pacman -S python2-pillow feh python-gobject gtk3 libxslt

*buntu

$ sudo apt-get install feh python3-gi python-gobject python-pip python-imaging xsltproc && pip install Pillow

i

Credit

I found the script by other means, but i found out the author of the color script that i made the GUI for, i'll leave the link to the original repo down below

it's http://github.com/everett1992/wp i

Examples

Dynamic bar Dynamic theme2

About

wpg is a GUI for a little program called wp to manage your wallpapers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 82.3%
  • Python 12.9%
  • Shell 4.8%