summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-06-14 13:46:30 -0500
committerstkhan <personal@slickd.xyz>2021-06-14 13:46:30 -0500
commitd0b4841d3047b25c243c3e1b946a21cea4f40be7 (patch)
tree02662b08adbd960371c6e3cc0844c1d4dbc3a88e /bin
parenta738110c2693fe65396b5d43e2f9dff5bd0644db (diff)
Testing PKGBUILD
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fehbg2
-rwxr-xr-xbin/sarc_compile41
-rwxr-xr-xbin/sarc_install30
-rwxr-xr-xbin/sarc_pkgbuild30
-rwxr-xr-xbin/ss4
5 files changed, 106 insertions, 1 deletions
diff --git a/bin/fehbg b/bin/fehbg
index 0617cb5..71860f0 100755
--- a/bin/fehbg
+++ b/bin/fehbg
@@ -1,3 +1,3 @@
#!/bin/sh
-feh --bg-fill ~/.config/wallpaper.jpg
+feh --bg-fill /etc/wallpaper.jpg
diff --git a/bin/sarc_compile b/bin/sarc_compile
new file mode 100755
index 0000000..5c1a541
--- /dev/null
+++ b/bin/sarc_compile
@@ -0,0 +1,41 @@
+#!/bin/sh
+# A script to compile sarc
+
+dwm="dwm-6.2"
+st="st"
+dmenu="dmenu-5.0"
+
+echo "Welcome to the sarc installation!"
+echo
+
+echo "What theme do you want to use?"
+echo
+ls themes/
+echo
+echo "Enter what theme you would like to use:" && read theme
+echo
+echo "Theme is $theme"
+echo
+echo $theme >> /tmp/theme
+pwd
+
+cp themes/$theme theme.h
+
+cd $dwm
+make clean
+make -s
+
+cd ../dwmblocks
+make -s
+
+cd ../$st
+make clean
+make -s
+
+cd ../$dmenu
+make -s
+
+cd ..
+
+rm theme.h
+echo "Compilation is complete! Run sarc_install to install it"
diff --git a/bin/sarc_install b/bin/sarc_install
new file mode 100755
index 0000000..07e1ec3
--- /dev/null
+++ b/bin/sarc_install
@@ -0,0 +1,30 @@
+#!/bin/sh
+# A script that installs sarc. Run this as root
+
+dwm="dwm-6.2"
+dmenu="dmenu-5.0"
+st="st"
+
+echo "What theme did you choose?"
+echo
+ls themes/ && read theme
+pwd
+echo
+echo $theme
+
+cd $dwm
+make install
+
+cd ../$dmenu
+make install
+
+cd ../$st
+make install
+
+cd ../dwmblocks
+make install
+
+cd ..
+cp bin/* /usr/local/bin
+cp etc/wallpaper/$theme.wallpaper.jpg /etc/wallpaper.jpg
+rm /tmp/theme
diff --git a/bin/sarc_pkgbuild b/bin/sarc_pkgbuild
new file mode 100755
index 0000000..07e1ec3
--- /dev/null
+++ b/bin/sarc_pkgbuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+# A script that installs sarc. Run this as root
+
+dwm="dwm-6.2"
+dmenu="dmenu-5.0"
+st="st"
+
+echo "What theme did you choose?"
+echo
+ls themes/ && read theme
+pwd
+echo
+echo $theme
+
+cd $dwm
+make install
+
+cd ../$dmenu
+make install
+
+cd ../$st
+make install
+
+cd ../dwmblocks
+make install
+
+cd ..
+cp bin/* /usr/local/bin
+cp etc/wallpaper/$theme.wallpaper.jpg /etc/wallpaper.jpg
+rm /tmp/theme
diff --git a/bin/ss b/bin/ss
new file mode 100755
index 0000000..f8f1468
--- /dev/null
+++ b/bin/ss
@@ -0,0 +1,4 @@
+#!/bin/sh
+# A script to start sarc
+sx dwm
+# That's it