micooz / wallpaper

:four_leaf_clover: Change your desktop wallpaper on OSX, Linux and Windows
MIT License
17 stars 2 forks source link

additional path type for win32 / xfce #2

Closed iamasc8277 closed 8 years ago

iamasc8277 commented 8 years ago

This basically adds another win32 path type. The second path will only be tried if the first path fails (which means the code from shell would be 1).

iamasc8277 commented 8 years ago

maybe it would be easier to just use path.sep to build the path to the .exe...

micooz commented 8 years ago

@ashysgit path.join or path.resolve should work in the case, I will refactor the project this weekend, just be patient :smile:

iamasc8277 commented 8 years ago

I also added a script for xfce desktop, since the command provided does not work (anymore?). You need to set the wallpaper for every connected monitor. The solution was posted on askubuntu, the original link is inside the script.

micooz commented 8 years ago

@ashysgit Thanks for your contribution, I will deal with it soon.