aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-01-15 23:00:26 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-01-15 23:00:26 +0100
commitb68701e2def4eb56df367f484d43201c5479e19d (patch)
treed99fcfff687d88d8bafadf24aa20b332af3a164f /install
parentchore: cleanup of gitignore(s), fetcha Makefile and license (diff)
downloadsuckless-setup-b68701e2def4eb56df367f484d43201c5479e19d.tar.gz
feat: replace install script with Makefile
Diffstat (limited to 'install')
-rwxr-xr-xinstall34
1 files changed, 0 insertions, 34 deletions
diff --git a/install b/install
deleted file mode 100755
index 294dcfd..0000000
--- a/install
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-programs="dwm dmenu slstatus st fetcha"
-
-command_exists() {
- command -v "$1" >/dev/null 2>&1
-}
-
-if [ "$(id -u)" -eq 0 ] || [ -n "$SUDO_UID" ]; then
- read -p "Install laptop configuration instead of desktop? [y/N] " laptop
- if [ "$laptop" = "y" ] || [ "$laptop" = "Y" ]; then
- git apply laptop.diff
- fi
-
- for program in $programs; do
- (cd "$program" && echo "Starting $program installation" && make -s clean install && echo "$program installation complete" && make -s clean)
- done
-
- git restore .
-
- if command_exists picom; then
- echo "Copying picom configuration"
- cp picom.conf /etc/xdg/picom.conf
- fi
-else
- echo "No root permissions, skipping installation of suckless programs and picom config"
-fi
-
-
-if command_exists feh; then
- echo "Creating ~/.fehbg"
- echo '#!/bin/sh' > ~/.fehbg
- echo "feh --no-fehbg --bg-fill $(pwd)/wallpaper.jpg" >> ~/.fehbg
- chmod 755 ~/.fehbg
-fi