diff --git a/CHANGELOGS.md b/CHANGELOGS.md index bc94d48..9841e1a 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -1,5 +1,9 @@ ## Changelogs +## 11 Dec 2023 +- Changing over to zsh automatically if user opted +- If chose to install zsh and have no login manager, zsh auto login will auto start Hyprland + ## 03 Dec 2023 - Added kvantum for qt apps theming - return of wlogout due to theming issues of rofi-power diff --git a/README.md b/README.md index 6f3a853..071d003 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ chmod +x install.sh ./install.sh ``` ### ✨ for ZSH and OH-MY-ZSH installation -> do this once installed and script completed; do the following to change the default shell zsh +> installer should auto change your default shell to zsh. However, if it does not, do this ```bash chsh -s $(which zsh) zsh @@ -172,7 +172,7 @@ sudo ninja -C build install ### 🛣️ Roadmap: -- [ ] Install zsh and oh-my-zsh without necessary steps above +- ~~[ ] Install zsh and oh-my-zsh without necessary steps above~~ DONE - [ ] possibly adding gruvbox themes, cursors, icons ### ❗ some known issues diff --git a/assets/.zprofile b/assets/.zprofile new file mode 100644 index 0000000..d0161af --- /dev/null +++ b/assets/.zprofile @@ -0,0 +1,3 @@ +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + Hyprland +fi diff --git a/install-scripts/zsh.sh b/install-scripts/zsh.sh index 16e0dab..1893a02 100644 --- a/install-scripts/zsh.sh +++ b/install-scripts/zsh.sh @@ -67,6 +67,10 @@ if [[ $zsh =~ ^[Yy]$ ]]; then git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && \ cp -r 'assets/.zshrc' ~/ + cp -r 'assets/.zprofile' ~/ + + printf "${NOTE} changing default shell to zsh.....\n" + chsh -s $(which zsh) else printf "${NOTE} ZSH wont be installed.\n" fi