Skip to content

Commit b13471f

Browse files
committed
Inital commit
1 parent 13eceb0 commit b13471f

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

attribution.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"generic": {
3+
"copyright": "",
4+
"original-url": "",
5+
"license": "",
6+
"license-url": "",
7+
"description": ""
8+
}
9+
}

main.py

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
from src.backend.PluginManager.ActionBase import ActionBase
2+
from src.backend.PluginManager.PluginBase import PluginBase
3+
4+
# Import gtk modules
5+
import gi
6+
gi.require_version("Gtk", "4.0")
7+
gi.require_version("Adw", "1")
8+
from gi.repository import Gtk, Adw
9+
10+
class SampleAction(ActionBase):
11+
ACTION_NAME = "Sample Action"
12+
CONTROLS_KEY_IMAGE = False
13+
def __init__(self, deck_controller, page, coords):
14+
super().__init__(deck_controller=deck_controller, page=page, coords=coords)
15+
16+
17+
class PluginTemplate(PluginBase):
18+
def __init__(self):
19+
self.PLUGIN_NAME = "PluginTemplate"
20+
self.GITHUB_REPO = "https://github.com/Core447/PluginTemplate"
21+
super().__init__()
22+
23+
self.add_action(SampleAction)

manifest.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "",
3+
"thumbnail": "",
4+
"id": "",
5+
"name": ""
6+
}

0 commit comments

Comments
 (0)