From 1b34993fa989ae941213981bf98f887d8488d16e Mon Sep 17 00:00:00 2001 From: Zero Rust Date: Fri, 22 May 2020 23:53:21 -0400 Subject: [PATCH] adding separator addition to popup --- bumblebee_status/util/popup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bumblebee_status/util/popup.py b/bumblebee_status/util/popup.py index dee67f6..cf69d9a 100644 --- a/bumblebee_status/util/popup.py +++ b/bumblebee_status/util/popup.py @@ -71,6 +71,11 @@ class menu(object): label=menuitem, command=functools.partial(self.__on_click, callback) ) + """Adds a separator to the menu in the current location""" + + def add_separator(self): + self._menu.add_separator() + """Shows this menu :param event: i3wm event that triggered the menu (dict that contains "x" and "y" fields)