summaryrefslogtreecommitdiff
path: root/suckless/.local
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-03-25 14:52:54 +0000
committerrafa_99 <raroma09@gmail.com>2022-03-25 14:55:24 +0000
commit9bd918ba0f929b2c9cdf7e794e91f7edce4e79d2 (patch)
tree833bd9abcc4fd01f981a3936776bd0c3b836c830 /suckless/.local
parentb075ed789dc8138d3acbdf3e768304289effc69e (diff)
Updated Dots Configuration
Diffstat (limited to 'suckless/.local')
-rwxr-xr-xsuckless/.local/src/compileSource59
-rwxr-xr-xsuckless/.local/src/suck/sucklessUpdate47
2 files changed, 59 insertions, 47 deletions
diff --git a/suckless/.local/src/compileSource b/suckless/.local/src/compileSource
new file mode 100755
index 0000000..573d32e
--- /dev/null
+++ b/suckless/.local/src/compileSource
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+###################
+# Setting Up Vars #
+###################
+
+SRC=$(pwd)
+
+#################################
+# Cloning and Cleaning Programs #
+#################################
+
+git clone https://gitlab.com/rafa_99/dmenu
+git clone https://gitlab.com/rafa_99/dwm
+git clone https://gitlab.com/rafa_99/farbfeld
+git clone https://gitlab.com/rafa_99/neovimb
+git clone https://gitlab.com/rafa_99/pkg
+git clone https://gitlab.com/rafa_99/queryt
+git clone https://gitlab.com/rafa_99/sent
+git clone https://gitlab.com/rafa_99/slock
+git clone https://gitlab.com/rafa_99/slstatus
+git clone https://gitlab.com/rafa_99/st
+cd "$SRC"/dmenu && git pull ;
+cd "$SRC"/dwm && git pull ;
+cd "$SRC"/farbfeld && git pull ;
+cd "$SRC"/neovimb && git pull ;
+cd "$SRC"/pkg && git pull ;
+cd "$SRC"/queryt && git pull ;
+cd "$SRC"/sent && git pull ;
+cd "$SRC"/slock && git pull ;
+cd "$SRC"/slstatus && git pull ;
+cd "$SRC"/st && git pull ;
+
+##########################
+# Setting Configurations #
+##########################
+
+[ ! -f "$SRC"/dmenu/config.h ] && cp -rf "$HOME"/.config/suckless/dmenu/config.h "$SRC"/dmenu/ ;
+[ ! -f "$SRC"/dwm/config.h ] && cp -rf "$HOME"/.config/suckless/dwm/config.h "$SRC"/dwm/ ;
+[ ! -f "$SRC"/neovimb/src/config.h ] && cp -rf "$HOME"/.config/suckless/neovimb/config.h "$SRC"/neovimb/src ;
+[ ! -f "$SRC"/sent/config.h ] && cp -rf "$HOME"/.config/suckless/sent/config.h "$SRC"/sent/ ;
+[ ! -f "$SRC"/slock/config.h ] && cp -rf "$HOME"/.config/suckless/slock/config.h "$SRC"/slock/ ;
+[ ! -f "$SRC"/slstatus/config.h ] && cp -rf "$HOME"/.config/suckless/slstatus/config.h "$SRC"/slstatus/ ;
+[ ! -f "$SRC"/st/config.h ] && cp -rf "$HOME"/.config/suckless/st/config.h "$SRC"/st/ ;
+
+########################
+# Recompiling Programs #
+########################
+
+cd "$SRC"/dwm && git pull ; doas make clean install ; make clean
+cd "$SRC"/dmenu && git pull ; doas make clean install ; make clean
+cd "$SRC"/farbfeld && git pull ; doas make clean install ; make clean
+cd "$SRC"/neovimb && git pull ; doas make clean install ; make clean
+cd "$SRC"/pkg && git pull ; doas make clean install ; make clean
+cd "$SRC"/queryt && git pull ; doas make clean install ; make clean
+cd "$SRC"/sent && git pull ; doas make clean install ; make clean
+cd "$SRC"/slock && git pull ; doas make clean install ; make clean
+cd "$SRC"/slstatus && git pull ; doas make clean install ; make clean
+cd "$SRC"/st && git pull ; doas make clean install ; make clean
diff --git a/suckless/.local/src/suck/sucklessUpdate b/suckless/.local/src/suck/sucklessUpdate
deleted file mode 100755
index c57c390..0000000
--- a/suckless/.local/src/suck/sucklessUpdate
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-###################
-# Setting Up Vars #
-###################
-
-SUCK=$(pwd)
-
-#################################
-# Cloning and Cleaning Programs #
-#################################
-
-git clone https://gitlab.com/rafa_99/dmenu
-git clone https://gitlab.com/rafa_99/dwm
-git clone https://gitlab.com/rafa_99/farbfeld
-git clone https://gitlab.com/rafa_99/neovimb
-git clone https://gitlab.com/rafa_99/pkg
-git clone https://gitlab.com/rafa_99/queryt
-git clone https://gitlab.com/rafa_99/sent
-git clone https://gitlab.com/rafa_99/slock
-git clone https://gitlab.com/rafa_99/slstatus
-git clone https://gitlab.com/rafa_99/st
-cd "$SUCK"/dmenu && git pull ;
-cd "$SUCK"/dwm && git pull ;
-cd "$SUCK"/farbfeld && git pull ;
-cd "$SUCK"/neovimb && git pull ;
-cd "$SUCK"/pkg && git pull ;
-cd "$SUCK"/queryt && git pull ;
-cd "$SUCK"/sent && git pull ;
-cd "$SUCK"/slock && git pull ;
-cd "$SUCK"/slstatus && git pull ;
-cd "$SUCK"/st && git pull ;
-
-########################
-# Recompiling Programs #
-########################
-
-cd "$SUCK"/dwm && git pull ; doas make clean install ; make clean
-cd "$SUCK"/dmenu && git pull ; doas make clean install ; make clean
-cd "$SUCK"/farbfeld && git pull ; doas make clean install ; make clean
-cd "$SUCK"/neovimb && git pull ; doas make clean install ; make clean
-cd "$SUCK"/pkg && git pull ; doas make clean install ; make clean
-cd "$SUCK"/queryt && git pull ; doas make clean install ; make clean
-cd "$SUCK"/sent && git pull ; doas make clean install ; make clean
-cd "$SUCK"/slock && git pull ; doas make clean install ; make clean
-cd "$SUCK"/slstatus && git pull ; doas make clean install ; make clean
-cd "$SUCK"/st && git pull ; doas make clean install ; make clean