Jump to content

Okay, so
I have tried sxiv and feh
Sxiv failed to work at all I believe.
And feh weeell.. I have to restart my WM every time I log in -_- which is kinda annoying!
The command I have in my config is:

awful.spawn.with_shell("feh --bg-scale /path/to/the/image.jpg --bg-fill /path/to/the/image2.jpg")

Someone in the AWM IRC channel recommended me to use the -Z option, but that seemed to not work. The IRC channel is dead, I tried going there again..
My problem is: every time I boot up, login, startx, my wallpapers on my 2 screens are the same - not that I
mentioned 2, each for one monitor.. aaand not only that, but they tile.. do you see anywhere me doing --bg-tile? nope..
Please help me. I know that Awesome Window Manager puts their own AWESOME wallpaper before mine, like it's built-in I guess -> I tried messing with this today, around with the code:
```lua
...
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
-- If wallpaper is a function, call it with the screen
if type(wallpaper) == "function" then
wallpaper = wallpaper(s)
end
gears.wallpaper.maximized(wallpaper, s, true)
end
end

-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
screen.connect_signal("property::geometry", set_wallpaper)

awful.screen.connect_for_each_screen(function(s)
-- Wallpaper
set_wallpaper(s)
...
```
And I couldn't get it to work.. I edited the theme.lua file to change the wallpaper linking to the default background wallpaper to 2 variables, each linking to separate photos.

The problem is - not setting a same image to both displays, but setting a different image per-display.
Please help if you can :/ I couldn't find someone with a same issue as me.. like.. it works on DWM, but that's probably because it doesn't set any wallpaper itself, so it does not mess things up.

I cannot quote people with the built-in function because I almost never enable JavaScript on websites. You won't get notified if I reply to you, sadly :/

Link to comment
https://linustechtips.com/topic/1364815-awesomewm-multi-screen-wallpaper-problem/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×