Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/sway.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-29 08:23:29 +0000
committerGitHub <noreply@github.com>2021-04-29 08:23:29 +0000
commit055b6dd9053d0a9fc95b1ae541ba09f99b93a5b1 (patch)
tree5309cbfed3632e51831267673632678cc6b11e98 /profiles/sway.py
parent2d02e806f2ae5341752a0ceb532e5c239a164ee7 (diff)
parent455dd24614be1dcad7ef193bde6efaea6d901b59 (diff)
Merge pull request #378 from dylanmtaylor/packages
Desktop Environment Cleanup and Switch to Packages Definitions
Diffstat (limited to 'profiles/sway.py')
-rw-r--r--profiles/sway.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/profiles/sway.py b/profiles/sway.py
index c3a6e31a..db94ae2c 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -4,6 +4,8 @@ import archinstall
is_top_level_profile = False
+__packages__ = ["sway", "swaylock", "swayidle", "waybar", "dmenu", "light", "grim", "slurp", "pavucontrol", "alacritty"]
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -24,6 +26,5 @@ def _prep_function(*args, **kwargs):
# through importlib.util.spec_from_file_location("sway", "/somewhere/sway.py")
# or through conventional import sway
if __name__ == 'sway':
- # Install the application sway from the template under /applications/
- sway = archinstall.Application(installation, 'sway')
- sway.install()
+ # Install the Sway packages
+ installation.add_additional_packages(__packages__)