Compare commits
No commits in common. "1662420bdc01e32ece0f904a58b28d3e28916dcf" and "8a2af2a92db2af93b131168b00e96ca6d0cc6bab" have entirely different histories.
1662420bdc
...
8a2af2a92d
|
@ -2,8 +2,6 @@
|
|||
{
|
||||
text = ''
|
||||
unbind-key C-b
|
||||
set-option -g prefix C-[
|
||||
bind-key C-[ send-prefix
|
||||
bind -n M-r source-file ~/.config/tmux/tmux.conf
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ 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,6 +2,51 @@
|
|||
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 = [
|
||||
|
@ -38,6 +83,9 @@ 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")
|
||||
|
@ -52,53 +100,6 @@ 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