pywal icon indicating copy to clipboard operation
pywal copied to clipboard

Custom script template not running

Open vaskark opened this issue 4 years ago • 1 comments

Hi. I'm using the berry wm and have written a script to change some colours (as a template, of course):

#!/bin/sh

berryc inner_focus_color   {color2.strip}
berryc text_focus_color    {color0.strip}
berryc inner_unfocus_color {color0.strip}
berryc text_unfocus_color  444444

The correct file is being produced in ~/.cache/wal/colors-berry.sh but the script is not being run. Executable permissions were set on the template file but I found they weren't carried forward to the cache file. I have set proper permissions there now. Still no go.

Any help would be greatly appreciated. I do have this working in an extra script (using the -o flag) but wish to use the template scheme if possible. So not exactly a critical issue.

Thanks.

vaskark avatar Mar 06 '21 22:03 vaskark

It appears that execute permissions are not copied over to created template files. One solution would be creating a script you would run with -o that simply contains sh ~/.cache/wal/colors-berry.sh.

arcmags avatar Dec 17 '21 04:12 arcmags