Skip to content

Commit

Permalink
added deb-package diretory to git (I forgot xd)
Browse files Browse the repository at this point in the history
  • Loading branch information
janinainfa committed Jul 9, 2024
1 parent 5ca6e05 commit d1b04c2
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions deb-package/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Package: mex-assistant
Version: 1.0
Section: base
Priority: optional
Architecture: all
Depends: python3
Maintainer: janinainfa <[email protected]>
Description: Prosty asystent głosowy stworzony przy użyciu Pythona i Qt5.

33 changes: 33 additions & 0 deletions deb-package/etc/mex-assistant/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[DEFAULT]
voice_lang = pl-PL

[otwórz terminal]
type = terminal
command = gnome-terminal

[zakończ]
type = python
command = window.close()

[pogoda]
type = python
command = results = cc.getWeather()
speak(f"Jest {results[0]} stopni, odczuwalne {results[1]} stopni i {results[2]}")

[pobierz muzykę]
type = python
command = speak("Podaj tytuł:")
cc.downloadFromYT(takeVoice(3, window))

[puść muzykę]
type = terminal
command = playerctl play

[zatrzymaj muzykę]
type = terminal
command = playerctl pause

[następna piosenka]
type = terminal
command = playerctl next

9 changes: 9 additions & 0 deletions deb-package/usr/share/applications/myproject.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=Mex Assistant
Comment=Prosty asystent głosowy stworzony przy użyciu Pythona i Qt5.
Exec=/usr/local/bin/mex-assistant
Icon=/usr/share/icons/hicolor/256x256/apps/mex-assistant.png
Terminal=false
Type=Application
Categories=Utility;Application;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d1b04c2

Please sign in to comment.