aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2024-10-05 12:05:14 +0200
committeralexpdp7 <alex@corcoles.net>2024-10-05 12:06:46 +0200
commitd976ae89929793a9dd8c3766b11f7e5b08f7acba (patch)
tree180d9d90b262ec2a9baa2fbc38322cb286bd6e23 /scripts
parente039dbcf0ffe6c8ca0154b73861dabc060be2362 (diff)
Automate PaperWM setup
Diffstat (limited to 'scripts')
m---------scripts/PaperWM0
-rw-r--r--scripts/p7s/paperwm.py7
-rw-r--r--scripts/pyproject.toml1
3 files changed, 8 insertions, 0 deletions
diff --git a/scripts/PaperWM b/scripts/PaperWM
new file mode 160000
+Subproject 3a736d7c0c6e2b6a955ce1f4ef96bfd8b7041d3
diff --git a/scripts/p7s/paperwm.py b/scripts/p7s/paperwm.py
new file mode 100644
index 00000000..04a64f0a
--- /dev/null
+++ b/scripts/p7s/paperwm.py
@@ -0,0 +1,7 @@
+import pathlib
+import subprocess
+
+
+def setup_paperwm():
+ install = (pathlib.Path(__file__).parent.parent / "PaperWM" / "install.sh")
+ subprocess.run([install], check=True)
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index db3c56a0..af6196de 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -28,4 +28,5 @@ bitlbee_setup = 'p7s.bitlbee:setup_bitlbee'
setup_bash = 'p7s.bash:setup_bash'
setup_emacs = 'p7s.emacs:setup_emacs'
setup_ubpkg = 'p7s.ubpkg:setup_ubpkg'
+setup_paperwm = 'p7s.paperwm:setup_paperwm'
update_zfs = 'p7s.zfs:update_zfs'