Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature Request: add --random function #7

Closed
berseker opened this issue Oct 29, 2011 · 5 comments
Closed

Feature Request: add --random function #7

berseker opened this issue Oct 29, 2011 · 5 comments
Assignees
Milestone

Comments

@berseker
Copy link

Dears,

I'm using nitrogen with my compiz-standalone system and that's great

I would like to see if possible a sort of "random" function implemented..
let's say, I have now a directory full of wallpapers, on autostart script I have now "nitrogen --restore" that applies last wallpaper I selected and "applied" with the apply button. I would like however at every start, a different wallpaper loaded from the directory (ies) I have setup in nitrogen itself.. can this be implemented?

@daf
Copy link
Member

daf commented Oct 31, 2011

This is certainly a goal. I use the rotation feature of OSX at work all the time and have always planned on including it in Nitrogen. Things have been on hold for a little while as we think about the possible language change for 2.0 (python), and prototyping those - but certainly this feature will make its way into Nitrogen, hopefully soon.

@ghost ghost assigned daf Apr 16, 2013
@mcarlo95
Copy link

Upvote this feature. It is a must on a wallpaper setter.

@daf
Copy link
Member

daf commented Oct 28, 2015

Four years almost to the day, this is implemented! (in 72acc82)

On the command line, you can use nitrogen --set-auto --random to have it use your configuration stored directories, or specify a dir to have it use that.

In the GUI, Ctrl+R will randomly pick a bg from the existing list using whatever mode/screen/bg color are configured.

@daf daf closed this as completed Oct 28, 2015
@freed00m
Copy link

freed00m commented Jan 2, 2017

Hi, there is no clear info in --help that states that --random has to be used with --set-* flag. I had to dig this issue just to see why standalone --random doesn't do nothing.

@obirn
Copy link

obirn commented Jul 26, 2023

random

me too... I had to dig so far, still 5 years later lol.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants