This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# Copyright (c) 2024 Manuel Schneider
3+ """
4+ This plugin is based on [virtualbox-python](https://pypi.org/project/virtualbox/) and needs the 'vboxapi' module which
5+ is part of the VirtualBox SDK. Some distributions package the SDK, e.g. Arch has
6+ [virtualbox-sdk](https://archlinux.org/packages/extra/x86_64/virtualbox-sdk/).
7+ """
38
49import virtualbox
510from virtualbox .library import LockType , MachineState
611
712from albert import *
813
9- md_iid = '2.0 '
10- md_version = "1.5 "
14+ md_iid = '2.2 '
15+ md_version = "1.6 "
1116md_name = "VirtualBox"
1217md_description = "Manage your VirtualBox machines"
1318md_license = "MIT"
@@ -67,6 +72,17 @@ def __init__(self):
6772 PluginInstance .__init__ (self , extensions = [self ])
6873 self .iconUrls = ["xdg:virtualbox" , ":unknown" ]
6974
75+ def configWidget (self ):
76+ return [
77+ {
78+ 'type' : 'label' ,
79+ 'text' : __doc__ .strip (),
80+ 'widget_properties' : {
81+ 'textFormat' : 'Qt::MarkdownText'
82+ }
83+ }
84+ ]
85+
7086 def handleTriggerQuery (self , query ):
7187 items = []
7288 pattern = query .string .strip ().lower ()
You can’t perform that action at this time.
0 commit comments