switch to swaync in favor of dunst
This commit is contained in:
parent
4ab51d13cf
commit
d6a6ff75ee
|
|
@ -1,5 +1,8 @@
|
|||
## Changelogs
|
||||
|
||||
## 29 December 2023
|
||||
- Remove dunst in favor of swaync. NOTE: Part of the script is to also uninstall mako and dunst (if installed) as on my experience, dunst is sometimes taking over the notification even if it is not set to start
|
||||
|
||||
## 16 Dec 2023
|
||||
- zsh theme switched to `agnoster` theme by default
|
||||
- pywal tty color change disabled by default
|
||||
|
|
|
|||
|
|
@ -89,7 +89,11 @@ source ~/.zshrc
|
|||
#### 🙋 Got a questions regarding the Hyprland Dots or configurations? 🙋
|
||||
- Head over to wiki Link [`WIKI`](https://github.com/JaKooLit/Hyprland-Dots/wiki)
|
||||
|
||||
### 🛣️ Roadmap:
|
||||
#### 🙋 👋 Having issues or questions?
|
||||
- for the install part, kindly open issue on this repo
|
||||
- for the Pre-configured Hyprland dots / configuration, submit issue [`here`](https://github.com/JaKooLit/Hyprland-Dots/issues)
|
||||
|
||||
#### 🛣️ Roadmap:
|
||||
- ~~[ ] Install zsh and oh-my-zsh without necessary steps above~~ DONE
|
||||
- [ ] possibly adding gruvbox themes, cursors, icons
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ Extra=(
|
|||
|
||||
hypr_package=(
|
||||
cliphist
|
||||
curl
|
||||
dunst
|
||||
curl
|
||||
grim
|
||||
gvfs
|
||||
gvfs-mtp
|
||||
|
|
@ -38,7 +37,8 @@ rofi-lbonn-wayland-git
|
|||
slurp
|
||||
swappy
|
||||
swayidle
|
||||
swaylock-effects-git
|
||||
swaylock-effects-git
|
||||
swaync
|
||||
swww
|
||||
waybar
|
||||
wget
|
||||
|
|
@ -77,6 +77,11 @@ ttf-jetbrains-mono
|
|||
ttf-jetbrains-mono-nerd
|
||||
)
|
||||
|
||||
# List of packages to uninstall as it conflicts with swaync or causing swaync to not function properly
|
||||
uninstall=(
|
||||
dunst
|
||||
mako
|
||||
)
|
||||
|
||||
############## WARNING DO NOT EDIT BEYOND THIS LINE if you dont know what you are doing! ######################################
|
||||
|
||||
|
|
@ -118,15 +123,44 @@ install_package() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Function for uninstalling packages
|
||||
uninstall_package() {
|
||||
# Checking if package is installed
|
||||
if pacman -Qi "$1" &>> /dev/null ; then
|
||||
# Package is installed
|
||||
echo -e "${NOTE} Uninstalling $1 ..."
|
||||
sudo pacman -Rns --noconfirm "$1" 2>&1 | tee -a "$LOG"
|
||||
# Making sure package is uninstalled
|
||||
if ! pacman -Qi "$1" &>> /dev/null ; then
|
||||
echo -e "\e[1A\e[K${OK} $1 was uninstalled."
|
||||
else
|
||||
# Something went wrong, exiting to review log
|
||||
echo -e "\e[1A\e[K${ERROR} $1 failed to uninstall. Please check the log."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Installation of main components
|
||||
printf "\n%s - Installing hyprland packages.... \n" "${NOTE}"
|
||||
|
||||
for PKG1 in "${hypr_package[@]}" "${hypr_package_2[@]}" "${fonts[@]}" "${Extra[@]}"; do
|
||||
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG1 install had failed, please check the install.log"
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG1 install had failed, please check the log"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
clear
|
||||
printf "\n%s - Checking if mako or dunst are installed and removing for swaync to work properly \n" "${NOTE}"
|
||||
|
||||
for PKG in "${uninstall[@]}"; do
|
||||
uninstall_package "$PKG" 2>&1 | tee -a "$LOG"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\e[1A\e[K${ERROR} - $PKG uninstallation had failed, please check the log"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
clear
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue