waybar: Use nwg-menu

This commit is contained in:
PapaTutuWawa 2021-10-23 19:34:39 +02:00
parent 04450b7bb1
commit 6feb70c867

View File

@ -11,7 +11,7 @@
modules-left = [ "custom/grid" "sway/workspaces" "sway/mode" ];
modules-center = [ "clock" ];
modules-right = [ "tray" "idle_inhibitor" "pulseaudio" ];
modules-right = [ "tray" "idle_inhibitor" "pulseaudio" "custom/menu" ];
modules = {
"sway/workspaces" = {
@ -22,6 +22,10 @@
format = "Start";
on-click = "${pkgs.nwg-launchers}/bin/nwggrid";
};
"custom/menu" = {
format = "Menu";
on-click = "${pkgs.nwg-menu}/bin/nwg-menu -ha right -va top -d -fm ${pkgs.gnome.nautilus}";
};
};
}
];