Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 3bba18d

Browse files
committed
README updated
1 parent aae94ee commit 3bba18d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This project is an attempt to create a **simple** menu, that behaves decently on sway window manager.
33
It uses `pygobject` to create a gtk3-based system menu.
44

5-
Well, I didn't even think that sway needed a menu, as I'm really happy with [wofi](https://hg.sr.ht/~scoopta/wofi) and/or
5+
Well, I didn't even think that sway needed a menu, as I'm really happy with [wofi](https://hg.sr.ht/~scoopta/wofi) and
66
[dmenu-wayland](https://github.com/nyyManni/dmenu-wayland). I started coding just to find out what the freedesktop
77
[Desktop Menu Specification](https://specifications.freedesktop.org/menu-spec/latest) looks like, and also to learn some
88
more [pygobject](https://pygobject.readthedocs.io/en/latest).
@@ -36,6 +36,11 @@ optional arguments:
3636
- python-gobject
3737
- python-i3ipc (optionally)
3838

39+
## How it works?
40+
41+
The problem to resolve was, that Gtk.Menu behaves differently / unexpectedly when open over Wayland and X11 windows.
42+
To avoid it, the script first creates a (semi-)transparent, floating window, that covers all the screen.
43+
3944
## TODO
4045
- Add support for localization;
4146
- resolve the missing overflow marks issue on sway;

0 commit comments

Comments
 (0)