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

Adds setWallpaper for sway desktop environment #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RomeoV
Copy link

@RomeoV RomeoV commented Dec 6, 2020

Simple command line call for settings the downloaded picture for the
sway desktop environment.

Simple command line call for settings the downloaded picture for the
sway desktop environment.
@marguerite
Copy link
Owner

detect and set is a pair of work...are you sure “sway” can be automatically detected(not by the desktopenvironment variable in config)? or you should also contribute the sway detection codes

@RomeoV
Copy link
Author

RomeoV commented Jun 3, 2024

I use this systemd daemon where I can just pass sway as a flag:

[Unit]
Description=Bing Wallpaper of the Day as your Linux Desktop's wallpaper
After=network-online.target graphical-session.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=%h/go/bin/linux-bing-wallpaper --daemon --desktop sway --dir %h/Pictures/Wallpapers
Restart=always
RuntimeMaxSec=3600

[Install]
WantedBy=default.target

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

Successfully merging this pull request may close these issues.

None yet

2 participants