2026-02-03 21:23:26 +01:00
|
|
|
{ wrappers, pkgs }:
|
|
|
|
|
let
|
|
|
|
|
config = {
|
|
|
|
|
clock.format = "%Y-%m-%d (%j %a %W) %H:%M";
|
2026-02-04 07:59:49 +01:00
|
|
|
appearance.scale_factor = 0.8;
|
2026-02-03 21:23:26 +01:00
|
|
|
modules = {
|
|
|
|
|
center = [ "Clock" ];
|
|
|
|
|
left = [
|
|
|
|
|
"Workspaces"
|
|
|
|
|
[ "WindowTitle" ]
|
|
|
|
|
];
|
|
|
|
|
right = [
|
|
|
|
|
"KeyboardLayout"
|
|
|
|
|
[
|
|
|
|
|
"Tray"
|
|
|
|
|
"SystemTray"
|
|
|
|
|
"Settings"
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
settings.indicators = [
|
|
|
|
|
"IdleInhibitor"
|
|
|
|
|
"PowerProfile"
|
|
|
|
|
"Audio"
|
|
|
|
|
"Bluetooth"
|
|
|
|
|
"Network"
|
|
|
|
|
"Vpn"
|
|
|
|
|
"Battery"
|
|
|
|
|
];
|
|
|
|
|
system_info.indicators = [
|
|
|
|
|
"Cpu"
|
|
|
|
|
"Memory"
|
|
|
|
|
{ "Disk" = "/"; }
|
|
|
|
|
];
|
|
|
|
|
workspaces = {
|
|
|
|
|
disable_special_workspaces = true;
|
|
|
|
|
enable_workspace_filling = false;
|
|
|
|
|
visibility_mode = "MonitorSpecific";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
configFile = (pkgs.formats.toml { }).generate "config.toml" config;
|
|
|
|
|
in
|
|
|
|
|
wrappers.lib.wrapPackage {
|
|
|
|
|
inherit pkgs;
|
|
|
|
|
package = pkgs.ashell;
|
|
|
|
|
flags = {
|
|
|
|
|
"--config-path" = toString configFile;
|
|
|
|
|
};
|
|
|
|
|
}
|