Firefox: Add MM link.
This commit is contained in:
parent
8a2af2a92d
commit
dccf7c5b6e
|
@ -4,6 +4,7 @@ let
|
|||
(mkBookmark "Dashboard" "https://home.voronind.com")
|
||||
(mkBookmark "Watch" "https://watch.voronind.com")
|
||||
(mkBookmark "Telegram" "https://web.telegram.org/a")
|
||||
(mkBookmark "WorkChat" "https://fsmm.fsight.ru/fmp")
|
||||
(mkBookmark "Mail" "https://mail.voronind.com")
|
||||
(mkBookmark "WorkMail" "https://mail.fsight.ru")
|
||||
(mkBookmark "Git" "https://git.voronind.com")
|
||||
|
|
|
@ -2,51 +2,6 @@
|
|||
let
|
||||
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}") ];
|
||||
|
||||
services = [
|
||||
|
@ -83,9 +38,6 @@ let
|
|||
(mkLink "Toolbox" "fa-toolbox" "https://it-tools.tech")
|
||||
(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" [
|
||||
(mkLink "1337x" "fa-skull-crossbones" "https://1337x.to")
|
||||
(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")
|
||||
])
|
||||
];
|
||||
|
||||
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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue