You are not logged in.

#1 2008-06-18 14:05:51

atc
Member
From: Denmark
Registered: 2008-05-27
Posts: 17
Website

Dual screen wallpaper in Awesome

Hey,

Not sure it's the right place to ask but here goes..

I'm using Arch with the Awesome WM. I have a dual screen setup where both screens share the same Awesome config (so, ONE screen {} in .awesomerc).
I set the wallpaper with feh by adding "eval `cat $HOME/.fehbg` &" to .xinitrc and my problem is that it only sets the wallpaper on my primary screen.

What I want is two different wallpapers on two different screens/monitors. How is this done?

Also, I'm able to set the wallpapers in both screens by manually running "feh --bg-center file1.jpg" in one and "feh --bg-center file2.jpg" in the other one.

Last edited by atc (2008-06-18 14:13:13)

Offline

#2 2008-06-19 00:06:06

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: Dual screen wallpaper in Awesome

I don't know if this will be the same with awesome, but I use nitrogen to set my dual screen wallpapers in openbox.

Offline

#3 2008-06-20 21:34:34

atc
Member
From: Denmark
Registered: 2008-05-27
Posts: 17
Website

Re: Dual screen wallpaper in Awesome

Nitrogen did the trick. Thanks a lot.

Offline

#4 2013-07-19 14:41:00

d4r3llo5
Member
Registered: 2013-07-19
Posts: 1

Re: Dual screen wallpaper in Awesome

-- For others who stumble upon this like I did --
**In the code, for more than two monitors, switch statements might be cleaner
If you don't want to install another application, you can apparently with beautiful/gears:

-- {{{ Wallpaper
if beautiful.wallpaper then
    for s = 1, screen.count() do
        --gears.wallpaper.maximized(beautiful.wallpaper, s, true)
        if s < 2 then
          gears.wallpaper.maximized("path_to_image_one", s, true)
        else
          gears.wallpaper.maximized("path_to_image_two", s, true)
        end
    end
end
-- }}}

Offline

Board footer

Powered by FluxBB