Updates
This commit is contained in:
parent
46f6d25181
commit
696bd36be8
17
.version/update.sh
Executable file
17
.version/update.sh
Executable 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
|
@ -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)
|
@ -1,2 +1,2 @@
|
||||
name="Enable/Disable Swaylock"
|
||||
name="Toggle Swaylock"
|
||||
order=1
|
||||
|
Loading…
Reference in New Issue
Block a user