aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/install_linux.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/install/install_linux.sh b/install/install_linux.sh
index 5e75e97..a57bfe5 100755
--- a/install/install_linux.sh
+++ b/install/install_linux.sh
@@ -60,6 +60,33 @@ if [ $res -eq 1 ]; then
tput rc; tput ed
fi
+dlgYN "> Install greetd and tuigreet" res
+if [ $res -eq 1 ]; then
+ tput sc
+ $INST_PM greetd
+ curl https://github.com/apognu/tuigreet/releases/download/0.8.0/tuigreet-0.8.0-x86_64 -o /usr/local/bin/tuigreet
+ chmod +x /usr/local/bin/tuigreet
+ cp /etc/greetd/config.toml /etc/greetd.config.toml.orig
+ ln -isf "$CWD/linux/greetd.toml" /etc/greetd/config.toml
+ systemctl enable greetd
+ tput rc; tput ed
+fi
+
+dlgYN "> Install tlp" res
+if [ $res -eq 1 ]; then
+ tput sc
+ $INST_PM tlp
+ systemctl enable --now tlp
+ tput rc; tput ed
+fi
+
+dlgYN "> Install sway" res
+if [ $res -eq 1 ]; then
+ tput sc
+ $INST_PM sway swayidle physlock alacritty blueman network-manager-gnome wob wlogout wofi brightnessctl clipman
+ tput rc; tput ed
+fi
+
dlgYN "> Create symlinks" res
if [ $res -eq 1 ]; then
CWD=$(pwd)
@@ -91,4 +118,5 @@ fi
tput setaf 3
echo "\nPlease install the font Roboto mono nerd, and enable it in your terminal."
echo "\nPlease run ':PlugInstall' in vim"
+echo "\nTo to start greetd, reboot system"
tput sgr0