nieseman / traymenu

A Gtk/Qt-based menu for the system tray to execute commands.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

traymenu

A Gtk/Qt-based menu for the system tray to execute arbitrary commands.

It takes some inspiration from the "alltray" tool (https://alltray.sourceforge.net/, https://linux.die.net/man/1/alltray).

What does it look like?

Screenshot in Kubuntu, using the Qt menu:

$ CMD_TERM="xterm -geometry 80x30 -hold -bg black -fg green -e"
$ traymenu qt --debug \
    --submenu "Test/sysinfo" \
        --item "disk free: $CMD_TERM df" \
        --separator \
        --item "mount: $CMD_TERM mount" \
        --submenu-end \
    --item "uptime: $CMD_TERM uptime"

Screenshot

Help!?

$ traymenu
No arguments

Usage:  traymenu  qt|gtk [-d|--debug] [ --icon <filename> ]
                  ( --stdin | { --item '<label>: <command>' |
                                --submenu <label> |
                                --separator |
                                --submenu-end } )

About

A Gtk/Qt-based menu for the system tray to execute commands.

License:MIT License


Languages

Language:Python 90.9%Language:Makefile 9.1%