Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 971 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 971 Bytes

i3-hud-menu

Provides a way to run menubar commands through dmenu.

Dependencies

  • python-dbus
  • dmenu
  • ?

i3-appmenu-service.py

Incomplete implementation of the com.canonical.AppMenu.Registrar DBus service. Applications exporting their menu through dbusmenu need this service to run.

i3-hud-menu.py

Try to get the menu of the currently focused X11 window, list possible actions and ask the used which one to run.

Add to .profile :

if [ -n "$GTK_MODULES" ]
then
  GTK_MODULES="$GTK_MODULES:unity-gtk-module"
else
  GTK_MODULES="unity-gtk-module"
fi

if [ -z "$UBUNTU_MENUPROXY" ]
then
  UBUNTU_MENUPROXY=1
fi

i3-wm config

exec ~/.i3/i3-appmenu-service.py
bindsym $mod+x exec ~/.i3/i3-hud-menu.py

Note

Firefox does not seem to export its menus properly through dbusmenu (with the ubuntu patch and ui.use_unity_bar enabled) ...