chore: moved to support stow

This commit is contained in:
Elias
2024-06-29 21:33:29 +02:00
parent 59437d7e70
commit 26e1bc4d62
68 changed files with 173 additions and 253 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Split the string into an array at spaces
read -ra words <<<"$(xrandr | grep " connected" | awk '{print $1}')"
# Count the length of the array
length=${#words[@]}
if [ -z "$length" ]; then
exec swaylock
fi