-   Linux - Desktop (
-   -   Different wallpaper for each workspace with .xinitrc (

jarubyh 01-28-2012 11:24 AM

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.


Ian John Locke II 01-28-2012 02: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.

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 02:26 PM.