diff --git a/.version/update.sh b/.version/update.sh new file mode 100755 index 0000000..df21db7 --- /dev/null +++ b/.version/update.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# Check for internet connection +if ping -q -c 1 -W 1 google.com >/dev/null; then + version=$(cat ~/dotfiles/.version/version) + online=$(curl -s https://gitlab.com/stephan-raabe/dotfiles/-/raw/main/.version/version?ref_type=heads) + if [ "$version" -lt "$online" ]; then + # Update available + echo "0" + else + # No update available + echo "1" + fi +else + # Network is down + echo "1" +fi \ No newline at end of file diff --git a/hypr/conf/ml4w.conf b/hypr/conf/ml4w.conf index 9806710..d448b98 100644 --- a/hypr/conf/ml4w.conf +++ b/hypr/conf/ml4w.conf @@ -3,9 +3,13 @@ # ----------------------------------------------------- windowrulev2 = float,class:(com.ml4w.welcome) -windowrulev2 = size 700 600,class:(om.ml4w.welcome) -windowrulev2 = move 100%-730 80,class:(om.ml4w.welcome) +windowrulev2 = size 700 600,class:(com.ml4w.welcome) +windowrulev2 = center,class:(com.ml4w.welcome) + +windowrulev2 = float,class:(ml4w-welcome.py) +windowrulev2 = size 400 500,class:(ml4w-welcome.py) +windowrulev2 = center,class:(ml4w-welcome.py) windowrulev2 = float,class:(dotfiles-floating) -windowrulev2 = size 60% 60%,class:(dotfiles-floating) +windowrulev2 = size 1000 800,class:(dotfiles-floating) windowrulev2 = center,class:(dotfiles-floating) \ No newline at end of file diff --git a/hypr/settings/modules/system/swaylock/config.sh b/hypr/settings/modules/system/swaylock/config.sh index 79a9967..4895cef 100644 --- a/hypr/settings/modules/system/swaylock/config.sh +++ b/hypr/settings/modules/system/swaylock/config.sh @@ -1,2 +1,2 @@ -name="Enable/Disable Swaylock" +name="Toggle Swaylock" order=1