From 008db3167d5f5407ac6f892da0d3c9c74e7f88fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sat, 26 Jun 2021 09:01:07 +0200 Subject: [PATCH] feat(cage): open spotify --- systems/zaatar/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/zaatar/configuration.nix b/systems/zaatar/configuration.nix index 149e024..ce0f96f 100644 --- a/systems/zaatar/configuration.nix +++ b/systems/zaatar/configuration.nix @@ -51,13 +51,13 @@ user = config.users.extraUsers.kiosk.name; extraArguments = [ "-s" ]; # allow vt switching program = - let startUrl = "http://localhost:${toString config.services.mpd-fm.webPort}"; + let startUrls = [ "https://open.spotify.com" "http://localhost:${toString config.services.mpd-fm.webPort}" ]; in pkgs.writers.writeDash "kiosk-browser" '' while true; do ${pkgs.chromium}/bin/chromium \ --no-first-run --no-message-box --noerrdialogs \ --default-browser --no-default-browser-check \ - --start-maximized ${startUrl} + --start-maximized ${lib.escapeShellArgs startUrls} sleep 0.5 done '';