move ashell config to nix

This commit is contained in:
2026-02-21 20:18:35 +01:00
parent b614d6e04d
commit cbb7852387
3 changed files with 75 additions and 3 deletions

72
modules/ashell.nix Normal file
View File

@@ -0,0 +1,72 @@
{ ... }:
{
programs.ashell = {
enable = true;
package = null;
settings = {
outputs = {
Targets = [ "DP-1" ];
};
position = "Bottom";
modules = {
left = [
"Clock"
"Workspaces"
];
center = [ "WindowTitle" ];
right = [
"Privacy"
"MediaPlayer"
"SystemInfo"
[
"Tray"
"Settings"
]
];
};
clock = {
format = "%H:%M | %e.%m ";
};
settings = {
remove_airplane_btn = true;
};
appearance = {
scale_factor = 1.2;
success_color = "#a6e3a1";
text_color = "#cdd6f4";
workspace_colors = [
"#fab387"
"#b4befe"
"#cba6f7"
];
primary_color = {
base = "#fab387";
text = "#1e1e2e";
};
danger_color = {
base = "#f38ba8";
weak = "#f9e2af";
};
background_color = {
base = "#1e1e2e";
weak = "#313244";
strong = "#45475a";
};
secondary_color = {
base = "#11111b";
strong = "#1b1b25";
};
};
};
};
}