Comments (4)
You could just make a cron script, that changes your wallpaper with feh
or something, that runs every 4 hours or whatever. I don't think you
need to try do it in Lua.
from awesome-copycats.
Yeah I've thought of that. But it'd be nice to make it into a theme so everyone can use it though.
from awesome-copycats.
This is a library functionality, not a specific config.
You could use lain.widgets.base with feh
and setting a timeout
of 14400 (4 hours in seconds). See if you like this:
gwallwidget = lain.widgets.base({
timeout = 14400,
cmd = "feh command" -- set properly
})
You don't need to add it to a bar.
Otherwise, if you wish to do all in your rc.lua
, you could exploit run_once
function by adding the following lines after "Autostart applications" section:
-- {{{ Loop applications
gwall = capi.timer({ timeout = 14400 })
gwall:connect_signal("timeout", run_once("my feh command")) -- set properly
gwall:start()
-- }}}
which is basically the standard use of signals in Awesome.
from awesome-copycats.
This is something one could do at various levels, and very easily (for instance, you could also start a simple loop script in .xinitrc
).
Since I've shown you how to achieve it through lain
and awesome-copycats
, I close this issue here.
from awesome-copycats.
Related Issues (20)
- Instructions missing: turning off "Vi-like client focus"
- How to change the notification icon size HOT 2
- powerarrow binclock's widget height is hard code, so it's not aways ok HOT 1
- powerarrow-darker: attempt to call field 'at_screen_connect' HOT 3
- Mistyped variable name gui_editor HOT 1
- adding streetturtle widgets to copycats theme HOT 2
- powerarrow theme error with notifications HOT 3
- Installation process ? HOT 3
- Fullscreen-ing single application freezes Awesome HOT 4
- Error fetching submodules HOT 3
- Holo theme error when pressing the HOT 5
- Hide menu when mouse leaves it not working properly HOT 2
- How To add new widgets HOT 2
- change the colours of the powerarrows in the powerarrow theme? HOT 2
- No such file or directory: awesome-copycats HOT 1
- Questions about mpd, function key shortcuts, alternative to gtk applications HOT 4
- switch to parent window after closing child window HOT 4
- Multicolor Theme: Multiple Wallpapers & MPD Previews HOT 3
- Please figure it out thanks HOT 3
- No icons HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-copycats.