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

Random wallpapers from time to time please ... ? #164

Open
i-Lucas opened this issue Jul 28, 2024 · 0 comments
Open

Random wallpapers from time to time please ... ? #164

i-Lucas opened this issue Jul 28, 2024 · 0 comments

Comments

@i-Lucas
Copy link

i-Lucas commented Jul 28, 2024

It would be very interesting to have a configuration in hidamari that would allow you to change the current live wallpaper for a random one from time to time... I even tried to create a script for this, but it didn't work as expected...

random_hidamari_wallpaper.sh

#!/bin/bash

WALLPAPER_DIR="$HOME/Videos/Hidamari"
RANDOM_WALLPAPER=$(find "$WALLPAPER_DIR" -type f | shuf -n 1)
flatpak run io.github.jeffshee.Hidamari -b "$RANDOM_WALLPAPER"

bash:

flatpak run io.github.jeffshee.Hidamari --help
usage: hidamari [-h] [-p P] [-b] [-d] [-r]

Hidamari v3.5

options:
-h, --help show this help message and exit
-p P, --pause P Add pause before launching Hidamari. [sec]
-b, --background Launch only the live wallpaper.
-d, --debug Print debug messages.
-r, --reset Reset user configuration.

dev@lucas:~/Scripts$ ./random_hidamari_wallpaper.sh
usage: hidamari [-h] [-p P] [-b] [-d] [-r]
hidamari: error: unrecognized arguments: /home/dev/Videos/Hidamari/mylivewallpapers-com-Lake-and-Stars-FHD.mp4

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

No branches or pull requests

1 participant