[go: up one dir, main page]

Skip to content

rstcruzo/i3-hud-menu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

i3-hud-menu

Provides a way to run menubar commands through dmenu.

Dependencies

  • python-dbus
  • dmenu
  • bzr
  • unity-gtk-module-standalone-bzr
  • dmenu
  • appmenu-qt4

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

  • Python 100.0%