waybar: Add package
This commit is contained in:
parent
35b2e3cd44
commit
41ce64c05b
23
modules/programs/waybar/#default.nix#
Normal file
23
modules/programs/waybar/#default.nix#
Normal 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=
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
29
modules/programs/waybar/default.nix
Normal file
29
modules/programs/waybar/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user