This commit is contained in:
Stephan Raabe 2024-01-18 14:59:44 +01:00
parent 46f6d25181
commit 696bd36be8
3 changed files with 25 additions and 4 deletions

17
.version/update.sh Executable file
View File

@ -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

View File

@ -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)

View File

@ -1,2 +1,2 @@
name="Enable/Disable Swaylock"
name="Toggle Swaylock"
order=1