Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Releases: dylanaraps/pywal

1.1.2

07 Jan 00:16
Compare
Choose a tag to compare

Remember to use wal -c after every release.

  • fixed bug related to palette sorting.
  • use color blending to create a better white.

1.1.1

06 Jan 21:50
Compare
Choose a tag to compare

reload: Fixed permissions error.

1.1.0

03 Jan 00:20
Compare
Choose a tag to compare

general

  • Added support for changing colors in linux ttys.
  • Fixed bug with transparency in urxvt.
  • Added imagemagick display as a wallpaper setter fallback.

api

  • Added missing export options.

misc

  • Code cleanup.
  • Minor optimizations.

1.0.4

31 Dec 22:44
Compare
Choose a tag to compare
  • reload: Fixed issue with rofi.
  • reload: Speed up xrdb by using -nocpp

1.0.3

31 Dec 01:34
Compare
Choose a tag to compare
  • shuffle: Better error handling
  • export: Added missing rofi option.

1.0.2

29 Dec 20:46
Compare
Choose a tag to compare
  • Add back -r for compatibility with wpgtk.
    • It's still deprecated.
    • An error message is still displayed.

1.0.1

29 Dec 04:40
Compare
Choose a tag to compare
  • colors: Improve background contrast.
  • colors: Improve forground brightness and contrast.
  • general: Fix pywal causing pc beeps.

1.0.0

27 Dec 21:03
Compare
Choose a tag to compare

[Installation] [Getting Started] [Customization] [Wiki]

This release of pywal contains some large changes and may very well break things for some users. Expect bugs and expect additional releases to fix them. The version has been bumped to 1.0.0 as I'm now happy with where pywal is feature-wise.

The goal for the future is improving the schemes that pywal generates. Feel free to send me your wallpapers that generate subpar schemes and I'll use them in my testing data.

Removal of -r

The flag -r was removed as it was basically a glorified cat of the sequences file with 300ms of python overhead. The new recommended way to load the schemes is to replace wal -r with cat ~/.cache/wal/sequences.

Removal of -t

Yup! The -t flag to fix garbage in VTE terminals (termite, xfce4-terminal, gnome-terminal) is no longer needed. I've come up with a workaround that really shouldn't work but does. ¯\_(ツ)_/¯

The problem: The sequence \033[708;#000000\007 is unsupported by VTE and VTE's sequence parsing doesn't hide unknown sequences, instead it just displays them as plain text. We can't add an if statement or a check for VTE terminals as we're writing to each terminal via it's file descriptor. The only thing that is interpreted is escape sequences.

The workaround: The problem sequence is wrapped in a series of other escape sequences so that the unsupported sequence isn't echo'd to the terminal.

How it works:

# \0337                # Save cursor position.
# \033[1000H           # Move the cursor off screen.
# \033[8m              # Conceal text.
# \033]708;#000000\007 # Garbage sequence.
# \0338                # Restore cursor position.

\0337\033[1000H\033[8m\033]708;#000000\007\0338

This took a lot of trial and error to make sure it works across all terminals and doesn't cause issues for underlying terminal programs.

Added User Template Support

You can now define your own custom pywal template files or you can overwrite the default template files. Any files stored in ~/.config/wal/templates will be processed and exported to ~/.cache/wal/ under the same name.

The user template files follow the exact same syntax as the built-in templates. See the built-in templates for syntax examples: https://github.com/dylanaraps/pywal/tree/master/pywal/templates

For example: To define a custom rofi template file to set the background transparent.

Save this file to ~/.config/wal/templates/colors-rofi.Xresources and re-run wal. Rofi will now use the colors defined below instead.

#define BG #CC{background.strip}
#define HI #CC{color1.strip}
#define FG {color15}
#define TX {color15}

! State:           bg, fg, bg2,  hlbg, hlfg
rofi.color-normal: BG, FG, BG,   HI,   TX
rofi.color-active: BG, FG, BG,   HI,   TX
rofi.color-urgent: BG, HI, BG,   HI,   FG
rofi.color-window: BG, BG, BG

Templates

  • Added template file for rofi.
  • Added template file for st.
  • Added template file for tabbed.
  • Added template file for dwm.

Args

  • Added -s to disable changing terminal colors on the fly.

0.7.5

19 Dec 03:36
Compare
Choose a tag to compare
  • Really fixed wallpaper bug.

0.7.4

19 Dec 00:28
Compare
Choose a tag to compare
  • Fixed wallpaper not changing in WMs.