File tree 1 file changed +18
-2
lines changed
1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
# 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
+ """
3
8
4
9
import virtualbox
5
10
from virtualbox .library import LockType , MachineState
6
11
7
12
from albert import *
8
13
9
- md_iid = '2.0 '
10
- md_version = "1.5 "
14
+ md_iid = '2.2 '
15
+ md_version = "1.6 "
11
16
md_name = "VirtualBox"
12
17
md_description = "Manage your VirtualBox machines"
13
18
md_license = "MIT"
@@ -67,6 +72,17 @@ def __init__(self):
67
72
PluginInstance .__init__ (self , extensions = [self ])
68
73
self .iconUrls = ["xdg:virtualbox" , ":unknown" ]
69
74
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
+
70
86
def handleTriggerQuery (self , query ):
71
87
items = []
72
88
pattern = query .string .strip ().lower ()
You can’t perform that action at this time.
0 commit comments