Initial commit

This commit is contained in:
Patrick Alvin Alcala 2025-06-26 16:53:43 +08:00
commit 209ba130c0
4852 changed files with 1517959 additions and 0 deletions

14
.config/ml4w/version/compare.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
# ------------------------------------------------------
# Compare installed version with used version
# ------------------------------------------------------
source ~/.config/ml4w/version/library.sh
if [ -f /usr/share/ml4w-hyprland/dotfiles/.config/ml4w/version/name ]; then
installed_version=$(cat /usr/share/ml4w-hyprland/dotfiles/.config/ml4w/version/name)
used_version=$(cat ~/.config/ml4w/version/name)
if [[ $(testvercomp $used_version $installed_version "<") == "0" ]]; then
notify-send "Please run ml4w-hyprland-setup" "Installed version is newer then the version you're currently using."
fi
fi