waybar: Add package

This commit is contained in:
PapaTutuWawa 2021-10-22 21:45:17 +02:00
parent 35b2e3cd44
commit 41ce64c05b
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ ... }:
{
home-manager.users."${config.system.singleUser}".programs.waybar = {
enable = true;
settings = [
{
layer = "top";
position = "top";
modules-left = [ "sway/workspaces" "sway/mode" ];
modules-right = [ "pulseaudio" "clock" ];
modules = {
"sway/workspaces" = {
disable-scroll = true;
all-outputs=
};
};
}
];
};
}

View File

@ -0,0 +1,29 @@
{ 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";
};
};
}
];
};
}