mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 12:08:28 +00:00
Updated the README with the announcement that flatpaks can now be managed. Added the required documentation to the example.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# from import is ok for importing classes and functions
|
||||
# just remember to not import variables this way
|
||||
from typing import override
|
||||
from decman import Module, File, Directory, UserPackage, sh, prg
|
||||
|
||||
|
||||
@@ -112,6 +113,9 @@ class MyModule(Module):
|
||||
def aur_packages(self) -> list[str]:
|
||||
return ["protonvpn"]
|
||||
|
||||
def flatpak_packages(self) -> list[str]:
|
||||
return ["org.mozilla.firefox"]
|
||||
|
||||
def systemd_units(self) -> list[str]:
|
||||
return ["reflector.timer"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user