Open mautamu opened 2 years ago
(feel free to follow a different style for errors, this is just a suggestion. it would be helpful to maybe follow the style of leftwm-check).
I'd like to suggest some additional checks:
up
and down
scripts have proper permissionsup
script symlinks or copies down
script to /tmp/leftwm-down-theme
, as this will be the place other themes will look for a down
scriptup
and down
scripts have a shebang and leftwm command "LoadTheme
in up
or leftwm command "UnloadTheme"
in down
(not sure if export SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
and the use of it in LoadTheme
should be enforced as well?)Blocked on leftwm/leftwm#496
Howdy,
To prevent issues like leftwm/leftwm#436 and leftwm/leftwm-community-themes#25, we should add a CI operation for leftwm-community-themes that performs the following checks:
Example:
Example 2 (with flags):
Example 3 (errors):
Example 4 (errors):