Skip to content

RafaelBocquet/i3-hud-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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) ...

About

Provides a way to run menubar commands through dmenu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages