30 lines
699 B
Nix
30 lines
699 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home-manager.users."${config.system.singleUser}".programs.waybar = {
|
|
enable = true;
|
|
settings = [
|
|
{
|
|
layer = "bottom";
|
|
position = "top";
|
|
gtk-layer-shell = true;
|
|
|
|
modules-left = [ "custom/grid" "sway/workspaces" "sway/mode" ];
|
|
modules-center = [ "clock" ];
|
|
modules-right = [ "tray" "idle_inhibitor" "pulseaudio" ];
|
|
|
|
modules = {
|
|
"sway/workspaces" = {
|
|
disable-scroll = true;
|
|
all-outputs = true;
|
|
};
|
|
"custom/grid" = {
|
|
format = "Start";
|
|
on-click = "${pkgs.nwg-launchers}/bin/nwggrid";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|