Don't submit empty passwords on lock screen

This commit is contained in:
David Heinemeier Hansson committed 2025-12-01 11:10:21 +01:00
1 parent 9450ac868e
commit b9792f7ba1
2 files changed
+9

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
echo "Ignore empty passwords on lock screen"
if ! grep -q "ignore_empty_input" ~/.config/hypr/hyprlock.conf; then
sed -i "/source =/a\ \ngeneral {\n ignore_empty_input = true\n}" ~/.config/hypr/hyprlock.conf
fi