mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 03:51:53 -05:00
randomWallpaper: don't exit or error when no monitors are available
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
0d6d4ac109
commit
4c833eec04
|
@ -27,7 +27,7 @@
|
|||
if Dir.exist?(directory)
|
||||
loop do
|
||||
active_monitors = get_outputs
|
||||
break if active_monitors.empty?
|
||||
next if active_monitors.empty?
|
||||
|
||||
added_monitors = active_monitors - known_monitors.keys
|
||||
removed_monitors = known_monitors.keys - active_monitors
|
||||
|
|
Loading…
Reference in a new issue