summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-07-26 13:07:11 -0500
committerZachIR <zachir@librem.one>2025-07-26 13:07:11 -0500
commit304aa0bc4856e5498b64ae95e73e1a7b21924f46 (patch)
tree1fb16e1a16766ec6df77a86365c860de9c1f8108
parentb35c7ad4db8e604f109f4857a4ed5a1c236caf30 (diff)
Add wc script to install wc stuff as necessary
-rw-r--r--Makefile7
-rwxr-xr-xinstallers/wc6
2 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce4171e..24b5acd 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,12 @@ DCONFS := doas.conf
all:
-install: install-hyprplugins install-zshconfigs install-shconfigs vimplug-vim install-scrollconf
+install: install-zshconfigs install-shconfigs vimplug-vim wc
+
+wc:
+ @echo "Installing wayland compositor stuff..."
+ @./installers/wc
+ @echo "Done."
install-hyprplugins: install-hyprsplit install-hyprland-plugins
diff --git a/installers/wc b/installers/wc
new file mode 100755
index 0000000..bfdb299
--- /dev/null
+++ b/installers/wc
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+pgrep -x Hyprland && make install-hyprplugins
+pgrep -x scroll && make install-scrollconf
+
+