LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Different wallpaper for each workspace with .xinitrc (http://www.linuxquestions.org/questions/linux-desktop-74/different-wallpaper-for-each-workspace-with-xinitrc-926186/)

jarubyh 01-28-2012 12:24 PM

Different wallpaper for each workspace with .xinitrc
 
I tried KDE 4.7 on a USB stick for a little while when it had just come out, and one of the features I liked most about it was the ability to have a different wallpaper for each workspace. I'm on Slackware 13.37 and running dwm, but I was wondering if there was any way I could modify my ~/.xinitrc to do just that. I've looked around Google but couldn't find anything.

Thanks.

Ian John Locke II 01-28-2012 03:54 PM

In dwm, you can change the function which changes the displayed tag. I would change the function itself, but create a new one which given a list of strings (which are like "/path/to/file.jpg") and calls "xv" with the proper settings to set the background. The only problem with this is you'll have to recompile dwm every time you want to change the background.

Addendum:
You could also write a bash script which based upon it's command line arguments changes the background for you. This would not require you to re-compile dwm each time you want to change the background list.


All times are GMT -5. The time now is 04:45 PM.