waybar: Use nwg-menu
This commit is contained in:
parent
04450b7bb1
commit
6feb70c867
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
modules-left = [ "custom/grid" "sway/workspaces" "sway/mode" ];
|
modules-left = [ "custom/grid" "sway/workspaces" "sway/mode" ];
|
||||||
modules-center = [ "clock" ];
|
modules-center = [ "clock" ];
|
||||||
modules-right = [ "tray" "idle_inhibitor" "pulseaudio" ];
|
modules-right = [ "tray" "idle_inhibitor" "pulseaudio" "custom/menu" ];
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
"sway/workspaces" = {
|
"sway/workspaces" = {
|
||||||
@ -22,6 +22,10 @@
|
|||||||
format = "Start";
|
format = "Start";
|
||||||
on-click = "${pkgs.nwg-launchers}/bin/nwggrid";
|
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}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user