Releases: deviantfero/wpgtk
Add keyword sets support
With this wpgtk
release I'm adding support for multiple user keyword defined sets. that means that you can easily define multiple values for the same custom keyword and it should be pretty easy to change between them when applying different themes, with this release I've also started to pivot the project to not require "images" in order to support setting a theme, it does not provide that functionality yet, but the code changed here will help in the future.
- Separate
keyword.conf
file where you define your keywords and their values for ease of portability - Set your default keyword set in your
wpg.conf
file or via de GUI
this upgrade should be painless for anyone using wpgtk
above version 6.0.0
, there should not be any breaking changes in this release, just more features 🎉, feel free to report if you run into an issue.
Improve GTK3 live reload
Add support for xfce settings daemon and gnome settings daemon and support reloading GTK+ themes in those desktop environments
The one with the breaking change - new template system
Templates
As I detailed in the PR #125, the format in the templates will change, to take full advantage of pywal
features in this regard, some of those features are illustrated in the code section below along with disadvantages that brings with it (having to escape braces, for example).
#<COLOR8> becomes {color8}
#<COLORACT> becomes {active}
#<COLORIN> becomes {inactive}
if you have normal braces {{
you will need to escape them like this
}}
but this means you can do things like:
{color8} -> #ffffff
{color8.octal} -> #77777777
{active.rgb} -> 255, 255, 255
{userdefinedcolor.rgb} -> 0, 0, 0
#BA{color8.strip} -> #BAffffff
CHANGELOG
I will list some other changes that affect this repository and wpgtk-templates
in no particular order:
- ability to reset color-schemes to their original state via the new
-R
flag and button in GUI - dark icon set that also changes colors along with the theme (for those who use light colorschemes)
- live reload of GTK+ is now optional (enabled by default)
- add option to automatically auto-adjust themes when adding a new wallpaper
- use threads to apply colors to templates so it's slightly faster
- rename flags so they make more sense.
-x
is now-t
for "templates"--pywal
is now--theme
for preset themes-y
is now--link
to reconnect backed up templates to their respective config files
- add
--preview
flag to print the color-scheme to console thanks topywal
- many improvements to GTK+ theme so that it no longer depends on
color8
for menu backgrounds - removed options for
tint2
andopenbox
, these will reload automatically when relevant - add
--update
flag to deal with outdated custom templates, please read more on this in the wiki - wallpapers that don't produce enough colors will grab a random preset theme
Live GTK+ reload
fix user defined keyword bug
5.7.3 update version
fix intialization bug
bug fix when using wpgtk
for the first time with no config dir, wpgtk
did not create the necessary directories.
dunst support!
This release adds dunst
support, among other things:
dunst
live reload supportdunst
template installable viawpg-install.sh
(overrides user file)
enjoy!
Smart sort, and all pywal templates!
Smart sort added!
what does this mean? greenest color will always go where green goes, yellowest where yellow goes and so on, this is done according to the standard terminal colors order, which is the following:
black, red, green, yellow, blue, magenta, cyan, white
when you use auto-adjust
, the colors will also be sorted in this fashion, if you want to disable this functionality you can do so via the smart_sort
setting in the configuration file, you can also disable that from the GUI.
Other changes include:
- Folder structure changed
# new layout
.config/wpg
├── formats
├── samples
├── schemes
├── sequences
├── templates
├── wallpapers
├── wpg.conf
└── wp_init.sh
- in formats, all templates supported by
pywal
will be exported for the current wallpaper, yes this includes user defined pywal templates - as always you can also use your own
wpgtk
templates too - more documentation in general
- new option in config file
alpha
to set transparency value forurxvt
. - a great speed boost when changing themes, icon colors are now changed asynchronously
Support pywal transparency
With the use of a new --alpha
tag, you can now set the alpha value that pywal will use for setting your theme for one time.
- you can also save your preferred alpha value under your config file, in the
[wpgtk]
section, - a new entry has been added to the GUI so you can change the alpha value from there too!
add multiple files in GUI, glob recognition in CLI
Power to add more at once!
- You can now select multiple files in the file picker when adding wallpapers/templates
- You can now use patterns such as
./mywallpapers/*.jpg
to add many wallpapers/templates at once
thanks to @AUTplayed for suggesting this change in #98