Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Refresh background #34

Open
GoogleCodeExporter opened this issue May 1, 2015 · 6 comments
Open

Auto Refresh background #34

GoogleCodeExporter opened this issue May 1, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Reproducing the annoyance:
1- Start wbar
2- put a window partially over it
3- right click on wbar to refresh
4- close the window
5- wbar shows the piece of window that covered it
6- you have to right click wbar again to refresh its background

It would be great if you could specify an auto refresh gap, so the background 
would get refreshed automatically every time.

GREAT, project, please don't abandon it.

Happy hacking!!

Original issue reported on code.google.com by dhunter...@gmail.com on 7 Dec 2010 at 2:18

@GoogleCodeExporter
Copy link
Author

Issue 33 has been merged into this issue.

Original comment by yadick...@gmail.com on 14 Jan 2011 at 3:26

@GoogleCodeExporter
Copy link
Author

Original comment by yadick...@gmail.com on 14 Jan 2011 at 3:31

  • Changed state: Accepted
  • Added labels: Type-Task

@GoogleCodeExporter
Copy link
Author

My wallpapers are been changed after a regular interval and the wbar refresh 
problem becomes very prominent. Please add an auto-refresh and the required 
command switch that we can control how often it automatically refresh. Please 
keep the good work running.

thanks

Original comment by baksh...@gmail.com on 14 Jun 2011 at 3:22

@GoogleCodeExporter
Copy link
Author

My wallpapers are been changed after a regular interval and the wbar refresh 
problem becomes very prominent. Please add an auto-refresh and the required 
command switch that we can control how often it automatically refresh. Please 
keep the good work running.

thanks

Original comment by baksh...@gmail.com on 20 Jun 2011 at 7:25

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I using this codes to getting AUTO REFRESH wbar when wallpapers are been 
changed:

#!/bin/bash

shopt -s nullglob

cd $HOME/Wallpapers

while true; do
    files=()
    for i in *.jpg *.png; do
        [[ -f $i ]] && files+=("$i")
    done
    range=${#files[@]}

    ((range)) && feh --bg-scale "${files[RANDOM % range]}"

    # Restart wbar,if already running
    [`pidof wbar`] && killall wbar && wbar &

    sleep 10m
done

Thanks the guys share codes above related.

Original comment by WFli...@gmail.com on 10 Oct 2013 at 4:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant