You are not logged in.

#1 2015-05-27 13:10:25

avadakadevra
Member
Registered: 2015-05-27
Posts: 2

problem with feh in i3

i am having problem with feh in i3 with background
backgorund is being set by feh correctly....yes
problem: it does not follow the time limits (set to 1 minute) . some images remain in bg for less time( 1 or 2 secs), some last longer (5 to 10 secs)

my settings
=======
i am using a shell script for setting timed backgrounds with feh
my ~/wallpaper.sh has:

#!/bin/bash

while true; do
    find ~/.wallpaper -type f \( -name '*.jpg' -o -name '*.png' \) -print0 |
        shuf -n1 -z | xargs -0 feh --no-fehbg --bg-max
    sleep 1m
done

i also added following line to my ~/.i3/config

exec --no-startup-id ~/wallpaper.sh

Offline

#2 2015-05-27 15:32:34

avadakadevra
Member
Registered: 2015-05-27
Posts: 2

Re: problem with feh in i3

problem is solved by  just shutting down my laptop and turning it on again. i dont know the reason what was the problem before and why it was resolved like this.

Offline

#3 2015-05-27 16:04:31

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: problem with feh in i3

What display manager are you using? I use this same script (assume it's on the wiki) and I notice that just running the process this way will leave it running even if you log out. What ended up happening is I had several sleeps going that would change the wallpaper. What I do now is have a wrapper script that calls wallpaper.sh first checking to see if the process is already running and then killing it. Probably not the cleanest way of doing it, but it works.

Offline

Board footer

Powered by FluxBB