Sway desktop install script

This commit is contained in:
AquaMorph committed 2022-08-25 08:10:59 -04:00
1 parent fc45f10664
commit 19bd5c6dc8
2 files changed
+15

No files matched your search

+9
View File
@@ -51,3 +51,12 @@ function downloadPackage() {
cd ~/Downloads/installers/${1} cd ~/Downloads/installers/${1}
wget -O ${3} ${2} wget -O ${3} ${2}
} }
# Get package manager
function packageManager() {
if command -v dnf &> /dev/null; then
echo dnf
elif command -v apt &> /dev/null; then
echo apt
fi
}
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Import library
source $(dirname ${BASH_SOURCE[0]})/install-lib.sh
sudo $(packageManager) install sway waybar rofi mako alacritty