yt music webapp doesn't remember my credentials
This commit is contained in:
parent
b0aea01988
commit
966f36237c
2 changed files with 0 additions and 40 deletions
|
|
@ -3,6 +3,5 @@
|
|||
{
|
||||
imports = [
|
||||
./wezterm.nix
|
||||
./webapps.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
{ lib, pkgs, ... }:
|
||||
let
|
||||
mkWebApp =
|
||||
webAppName: webAppLink: webAppIconLink: webAppIconHash:
|
||||
let
|
||||
name = lib.strings.replaceStrings [ " " ] [ "" ] webAppName;
|
||||
in
|
||||
pkgs.makeDesktopItem {
|
||||
inherit name;
|
||||
icon = pkgs.fetchurl {
|
||||
url = webAppIconLink;
|
||||
sha256 = webAppIconHash;
|
||||
};
|
||||
desktopName = webAppName;
|
||||
categories = [ "Network" ];
|
||||
startupNotify = true;
|
||||
startupWMClass = "chrome-${
|
||||
lib.strings.replaceStrings
|
||||
[
|
||||
"https://"
|
||||
"/"
|
||||
]
|
||||
[
|
||||
""
|
||||
""
|
||||
]
|
||||
webAppLink
|
||||
}__-Default";
|
||||
exec = "${pkgs.ungoogled-chromium}/bin/chromium --no-first-run --no-default-browser-check --no-crash-upload --app=${webAppLink} --class=${name}";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
(mkWebApp "YT Music" "https://music.youtube.com"
|
||||
"https://raw.githubusercontent.com/vinceliuice/Qogir-icon-theme/fff0c7f3747b9b9ddf94c6f997847d47896097c2/src/scalable/apps/youtube-music.svg"
|
||||
"sha256-T+v2JOOW+nEwH/9W2PFOrw/315/bCoKHw01KNh2U8IE="
|
||||
)
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue