Skip to content

Commit

Permalink
usr: gui: singleton_web_apps: use chromium on non-x86-linux platform
Browse files Browse the repository at this point in the history
  • Loading branch information
xieby1 committed Aug 12, 2024
1 parent 1875f30 commit f97dc7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion usr/gui/singleton_web_apps.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ config, pkgs, lib, ... }:
let
# You Can Change To Chrome-Like Browser Here!
chromeLikeBrowser = "${pkgs.microsoft-edge}/bin/microsoft-edge";
chromeLikeBrowser = if (lib.meta.availableOn builtins.currentSystem pkgs.microsoft-edge)
then "${pkgs.microsoft-edge}/bin/microsoft-edge"
else "${pkgs.chromium}/bin/chromium";

singleton = pkgs.writeShellScriptBin "singleton.sh" ''
if [[ $# -lt 2 || $1 == "-h" ]]
Expand Down

0 comments on commit f97dc7a

Please sign in to comment.