Squash merge feat/mail-server into main
This commit is contained in:
parent
14f4243aee
commit
06bcfe62ff
21 changed files with 973 additions and 67 deletions
|
|
@ -1,6 +1,10 @@
|
|||
{ terminal, osConfig }:
|
||||
{
|
||||
terminal,
|
||||
osConfig,
|
||||
wallRand,
|
||||
}:
|
||||
let
|
||||
modulesConfig = import ./modules.nix { inherit terminal osConfig; };
|
||||
modulesConfig = import ./modules.nix { inherit terminal osConfig wallRand; };
|
||||
in
|
||||
map (dev: dev // modulesConfig) [
|
||||
# Monitor 1
|
||||
|
|
@ -26,16 +30,29 @@ map (dev: dev // modulesConfig) [
|
|||
modules-center = [
|
||||
"hyprland/window"
|
||||
];
|
||||
modules-right = [
|
||||
"wlr/taskbar"
|
||||
"custom/wireguard"
|
||||
"idle_inhibitor"
|
||||
"network"
|
||||
"cpu"
|
||||
"memory"
|
||||
"pulseaudio"
|
||||
"custom/swaync"
|
||||
];
|
||||
modules-right = (
|
||||
[
|
||||
"wlr/taskbar"
|
||||
]
|
||||
++ (
|
||||
if osConfig.programs.gamemode.enable then
|
||||
[
|
||||
"custom/gamemode"
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
)
|
||||
++ [
|
||||
"custom/wallRand"
|
||||
"custom/wireguard"
|
||||
"idle_inhibitor"
|
||||
"network"
|
||||
"cpu"
|
||||
"memory"
|
||||
"pulseaudio"
|
||||
"custom/swaync"
|
||||
]
|
||||
);
|
||||
}
|
||||
# Monitor 2
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{ terminal, osConfig }:
|
||||
{
|
||||
terminal,
|
||||
osConfig,
|
||||
wallRand,
|
||||
}:
|
||||
let
|
||||
terminalRun = "${terminal} -e";
|
||||
in
|
||||
|
|
@ -247,4 +251,21 @@ in
|
|||
return-type = "json";
|
||||
escape = true;
|
||||
};
|
||||
"custom/gamemode" = {
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
active = "";
|
||||
inactive = "";
|
||||
};
|
||||
exec = "~/.config/scripts/gamemodeStatus.sh";
|
||||
on-click = "~/.config/scripts/gamemodeStatus.sh toggle";
|
||||
tooltip = true;
|
||||
interval = 3;
|
||||
return-type = "json";
|
||||
escape = true;
|
||||
};
|
||||
"custom/wallRand" = {
|
||||
format = "";
|
||||
on-click = "${wallRand}/bin/wallRand";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@ tooltip label {
|
|||
#idle_inhibitor,
|
||||
#custom-cava,
|
||||
#custom-wireguard,
|
||||
#custom-gamemode,
|
||||
#custom-wallRand,
|
||||
#clock,
|
||||
#cpu,
|
||||
#memory,
|
||||
|
|
@ -80,6 +82,8 @@ tooltip label {
|
|||
#temperature,
|
||||
#network,
|
||||
#custom-wireguard,
|
||||
#custom-gamemode,
|
||||
#custom-wallRand,
|
||||
#battery {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
|
@ -126,6 +130,8 @@ tooltip label {
|
|||
/* Center Icon */
|
||||
#custom-os,
|
||||
#custom-wireguard,
|
||||
#custom-gamemode,
|
||||
#custom-wallRand,
|
||||
#network,
|
||||
#idle_inhibitor {
|
||||
padding-left: 10px; padding-right: 14px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue