Compare commits

..

No commits in common. "1662420bdc01e32ece0f904a58b28d3e28916dcf" and "8a2af2a92db2af93b131168b00e96ca6d0cc6bab" have entirely different histories.

3 changed files with 54 additions and 56 deletions

View file

@ -2,8 +2,6 @@
{ {
text = '' text = ''
unbind-key C-b unbind-key C-b
set-option -g prefix C-[
bind-key C-[ send-prefix
bind -n M-r source-file ~/.config/tmux/tmux.conf bind -n M-r source-file ~/.config/tmux/tmux.conf
''; '';
} }

View file

@ -4,7 +4,6 @@ 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,6 +2,51 @@
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 = [
@ -38,6 +83,9 @@ 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")
@ -52,53 +100,6 @@ 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
{ {