Firefox: Add MM link.

This commit is contained in:
Dmitry Voronin 2024-10-21 14:04:36 +03:00
parent 8a2af2a92d
commit dccf7c5b6e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 54 additions and 54 deletions

View file

@ -4,6 +4,7 @@ let
(mkBookmark "Dashboard" "https://home.voronind.com") (mkBookmark "Dashboard" "https://home.voronind.com")
(mkBookmark "Watch" "https://watch.voronind.com") (mkBookmark "Watch" "https://watch.voronind.com")
(mkBookmark "Telegram" "https://web.telegram.org/a") (mkBookmark "Telegram" "https://web.telegram.org/a")
(mkBookmark "WorkChat" "https://fsmm.fsight.ru/fmp")
(mkBookmark "Mail" "https://mail.voronind.com") (mkBookmark "Mail" "https://mail.voronind.com")
(mkBookmark "WorkMail" "https://mail.fsight.ru") (mkBookmark "WorkMail" "https://mail.fsight.ru")
(mkBookmark "Git" "https://git.voronind.com") (mkBookmark "Git" "https://git.voronind.com")

View file

@ -2,51 +2,6 @@
let let
iconTheme = "fa-solid"; iconTheme = "fa-solid";
mkGroup = name: icon: items: {
inherit name items;
icon = "${iconTheme} ${icon}";
};
mkLink = name: icon: url: {
inherit name url;
icon = "${iconTheme} ${icon}";
target = "_blank";
};
cfg = {
title = "Dashboard";
subtitle = "Home";
header = false;
footer = false;
connectivityCheck = false;
theme = "default";
colors =
let
colors =
let
cfg = config.style.color;
in
{
background = "#${cfg.bg.dark}";
card-background = "#${cfg.bg.regular}";
card-shadow = "#${cfg.bg.regular}";
highlight-hover = "#${cfg.accent}";
highlight-primary = "#${cfg.fg.regular}";
highlight-secondary = "#${cfg.bg.dark}";
link = "#${cfg.fg.regular}";
link-hover = "#${cfg.accent}";
text = "#${cfg.fg.regular}";
text-header = "#${cfg.fg.regular}";
text-subtitle = "#${cfg.fg.light}";
text-title = "#${cfg.fg.light}";
};
in
{
light = colors;
dark = colors;
};
links = [ (mkLink "Status" "fa-heartbeat" "https://${config.container.module.status.domain}") ]; links = [ (mkLink "Status" "fa-heartbeat" "https://${config.container.module.status.domain}") ];
services = [ services = [
@ -83,9 +38,6 @@ let
(mkLink "Toolbox" "fa-toolbox" "https://it-tools.tech") (mkLink "Toolbox" "fa-toolbox" "https://it-tools.tech")
(mkLink "Zigbee" "fa-satellite-dish" "https://zigbee.blakadder.com") (mkLink "Zigbee" "fa-satellite-dish" "https://zigbee.blakadder.com")
]) ])
(mkGroup "Work" "fa-briefcase" [
(mkLink "Vm Manager" "fa-server" "https://fs-vcsa.fs.fsight.world/ui")
])
(mkGroup "Pirate" "fa-skull-crossbones" [ (mkGroup "Pirate" "fa-skull-crossbones" [
(mkLink "1337x" "fa-skull-crossbones" "https://1337x.to") (mkLink "1337x" "fa-skull-crossbones" "https://1337x.to")
(mkLink "Cs.rin.ru" "fa-skull-crossbones" "https://cs.rin.ru/forum/index.php") (mkLink "Cs.rin.ru" "fa-skull-crossbones" "https://cs.rin.ru/forum/index.php")
@ -100,6 +52,53 @@ let
(mkLink "Tapochek.net" "fa-skull-crossbones" "https://tapochek.net/index.php") (mkLink "Tapochek.net" "fa-skull-crossbones" "https://tapochek.net/index.php")
]) ])
]; ];
mkGroup = name: icon: items: {
inherit name items;
icon = "${iconTheme} ${icon}";
};
mkLink = name: icon: url: {
inherit name url;
icon = "${iconTheme} ${icon}";
target = "_blank";
};
cfg = {
inherit services links;
title = "Dashboard";
subtitle = "Home";
header = false;
footer = false;
connectivityCheck = false;
theme = "default";
colors =
let
colors =
let
cfg = config.style.color;
in
{
background = "#${cfg.bg.dark}";
card-background = "#${cfg.bg.regular}";
card-shadow = "#${cfg.bg.regular}";
highlight-hover = "#${cfg.accent}";
highlight-primary = "#${cfg.fg.regular}";
highlight-secondary = "#${cfg.bg.dark}";
link = "#${cfg.fg.regular}";
link-hover = "#${cfg.accent}";
text = "#${cfg.fg.regular}";
text-header = "#${cfg.fg.regular}";
text-subtitle = "#${cfg.fg.light}";
text-title = "#${cfg.fg.light}";
};
in
{
light = colors;
dark = colors;
};
}; };
in in
{ {