timozattol / wallpaper-generator

A simple wallpaper generator written in python
MIT License
31 stars 2 forks source link

Add OS specific commands #5

Open tyrann opened 8 years ago

tyrann commented 8 years ago

In order to move towards a portable version of the code, I suggest to write the OS specific version of the commands to update the wallpaper, as well as the one to get the screen resolution.

timozattol commented 8 years ago

What do you mean? To look for the OS type and then choose the appropriate command to update wallpaper & get screen resolution?

tyrann commented 8 years ago

Yes,unless I'm mistaken, I don't think that xrandr or grep will work on Windows. Maybe we should look for the OS type?

timozattol commented 8 years ago

Yes exactly! I was just making sure I understood the issue :) We should probably cover Windows, Mac OS, and as many Linux desktop environment as possible. Might be hard work though