updated styling

This commit is contained in:
Elias Renman
2024-06-08 16:50:33 +02:00
parent 85814083ce
commit 7976f8cac5
14 changed files with 623 additions and 125 deletions

11
hypr/scripts/lock.sh Normal file
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