summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-04-21 15:48:45 +0000
committerstkhan <personal@slickd.xyz>2021-04-21 15:48:45 +0000
commit25765f665f7d485c5405b33c64125f962da7272a (patch)
tree6fb9165933ae518ba7ed9e727f6984944cb10a92 /install.sh
parent26f9aed7db6c6ae7bdd64d9e7388e326f74b0659 (diff)
Rewrote some of the script, added brightness controls
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh26
1 files changed, 7 insertions, 19 deletions
diff --git a/install.sh b/install.sh
index d5d93bd..a282981 100755
--- a/install.sh
+++ b/install.sh
@@ -6,18 +6,11 @@ dmenu="./dmenu-5.0"
st="./st"
dwmblocks="./dwmblocks"
theme='blue'
-
-deps() {
-
- echo "Installing requirements"
- sudo pacman -Sy --needed pulseaudio feh picom dunst xorg xorg-xinit adobe-source-code-pro-fonts
-
-}
-
-
-
-compile() {
-
+echo "Welcome to the sarc installer!"
+ rm log.txt
+ sudo pacman -Sy --needed adobe-source-code-pro-fonts xorg xorg-xinit picom feh dunst pulseaudio
+
+
cd dwm-6.2
rm config.h
cp ./themes/$theme ./config.h
@@ -32,12 +25,6 @@ compile() {
cd ../$dwmblocks
sudo make -s install > ../log.txt
cd ..
-
-}
-
-
-cp() {
-
echo "Copying files"
cp ./etc/.xinitrc ~
cp ./etc/$theme.wallpaper.jpg ~/.config/
@@ -49,4 +36,5 @@ cp() {
cp ./etc/autostart.sh ~/.dwm/
cp ./bin/* ~/.local/bin
-}
+
+