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

Custom script template not running #594

Open
vaskark opened this issue Mar 6, 2021 · 1 comment
Open

Custom script template not running #594

vaskark opened this issue Mar 6, 2021 · 1 comment

Comments

@vaskark
Copy link

vaskark commented Mar 6, 2021

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.

@arcmags
Copy link

arcmags commented Dec 17, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants