Skip to content

Commit

Permalink
Fix screen capture plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
pnhofmann authored and pnhofmann committed Jan 18, 2022
1 parent e46ce6c commit 1cbd26e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions jarviscli/plugins/screen_capture.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import os

import jarvis as jarvis
from plugin import plugin, require, LINUX, MACOS, WINDOWS
import pyautogui as pg
from plugin import LINUX, MACOS, WINDOWS, plugin, require


@require(platform=WINDOWS)
@plugin('screencapture')
def Scrrencapture_Windows():
def Screencapture_Windows(jarvis, s):
"""
By holding Windows + Alt + R key we start screen capture in
"""
Expand All @@ -25,10 +25,9 @@ def engine():
jarvis.say('Screen Recording Ended')



@require(platform=LINUX)
@plugin('screencapture')
def Scrrencapture_LINUX():
def Scrrencapture_LINUX(jarvis, s):
"""
By holding Ctrl + Alt + Shift + R key we start screen capture in
"""
Expand All @@ -52,7 +51,7 @@ def engine():

@require(platform=MACOS)
@plugin('screencapture')
def Scrrencapture_MACOS():
def Scrrencapture_MACOS(jarvis, s):
"""
By holding Ctrl + Alt + Shift + R key we start screen capture in
"""
Expand Down

0 comments on commit 1cbd26e

Please sign in to comment.