From 4310fac18822e44c310f7e5146b7efc54e5ba829 Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 11 Nov 2024 18:32:43 +0100 Subject: [PATCH] hyprland install script first possibly functional setup --- .../hyprland/greetd-tuigreet/config.toml | 16 ++++++++++++++++ hyprland-full-install-script.sh | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 desktopenvs/hyprland/greetd-tuigreet/config.toml diff --git a/desktopenvs/hyprland/greetd-tuigreet/config.toml b/desktopenvs/hyprland/greetd-tuigreet/config.toml new file mode 100644 index 0000000..df24f86 --- /dev/null +++ b/desktopenvs/hyprland/greetd-tuigreet/config.toml @@ -0,0 +1,16 @@ +[terminal] +# The VT to run the greeter on. Can be "next", "current" or a number +# designating the VT. +vt = 1 + +# The default session, also known as the greeter. +[default_session] + +# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh` +# with whatever you want started, such as `sway`. +command = "tuigreet --cmd Hyprland" + +# The user to run the command as. The privileges this user must have depends +# on the greeter. A graphical greeter may for example require the user to be +# in the `video` group. +user = "greeter" diff --git a/hyprland-full-install-script.sh b/hyprland-full-install-script.sh index 8404dd6..00eef94 100644 --- a/hyprland-full-install-script.sh +++ b/hyprland-full-install-script.sh @@ -67,12 +67,15 @@ zip \ zram-generator \ zsh +#starship setup curl -sS https://starship.rs/install.sh | sh +#ohmyzsh setup sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - +#ohmyzsh plugins git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions +#aur/yay setup cd ~ mkdir install-tmp cd install-tmp @@ -82,6 +85,7 @@ makepkg -si yay --version cd ~/install-tmp +#cli dotfiles cd ~ rm ~/.bashrc rm ~/.zshrc @@ -92,9 +96,19 @@ ln -s ~/Dotfiles/starship.toml ~/.config/starship.toml ln -s ~/Dotfiles/micro/ ~/.config/micro ln -s ~/Dotfiles/git/.gitconfig ~/.gitconfig +#desktop env dotfiles +ln -s ~/Dotfiles/desktopenvs/hyprland/waybar/ ~/.config/waybar +ln -s ~/Dotfiles/desktopenvs/hyprland/kitty/ ~/.config/kitty +ln -s ~/Dotfiles/desktopenvs/hyprland/hypr/ ~/.config/hypr +ln -s ~/Dotfiles/desktopenvs/hyprland/wofi/ ~/.config/wofi +#zsh setup chsh -s /usr/bin/zsh homectl update --shell=/usr/bin/zsh +#greetd setup +sudo cp -f ~/Dotfiles/desktopenvs/hyprland/greetd-tuigreet/config.toml /etc/greetd/config.toml +sudo systemctl enable greetd.service -systemctl reboot \ No newline at end of file +#final reboot +systemctl reboot