From fa00d3d64f8196fb0a18670050480fd15fd59851 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Tue, 9 Nov 2021 08:48:46 -0800 Subject: [PATCH] Added lxqt --- dotenv.sh | 3 +++ scripts/install-lxqt.sh | 7 +++++++ scripts/install-node.sh | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 scripts/install-lxqt.sh diff --git a/dotenv.sh b/dotenv.sh index b6dcc7f..e473e77 100644 --- a/dotenv.sh +++ b/dotenv.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Grant SH execute +chmod +x ./**/*.sh + # Disable running as root. if [[ "$EUID" -eq 0 ]]; then echo "Please do not run as root" diff --git a/scripts/install-lxqt.sh b/scripts/install-lxqt.sh new file mode 100644 index 0000000..46baae1 --- /dev/null +++ b/scripts/install-lxqt.sh @@ -0,0 +1,7 @@ +#!/bin/bash +sudo pacman -S lxqt xorg-server sddm +echo "exec startlxqt" >> ~/.xinitrc +sudo systemctl enable sddm.service + +# Start +sudo systemctl start sddm.service \ No newline at end of file diff --git a/scripts/install-node.sh b/scripts/install-node.sh index 4941d6c..b433f09 100644 --- a/scripts/install-node.sh +++ b/scripts/install-node.sh @@ -2,7 +2,7 @@ # NVM curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash -export NVM_DIR="$HOME/.nvm" +NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"