From 95a8975beaa1c0c5b67c3296cbdb4e27febccc2e Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sat, 10 Dec 2022 17:41:43 +0100 Subject: [PATCH] config swaylock-fancy in powermenu --- roles/wofi/templates/powermenu.sh.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/wofi/templates/powermenu.sh.j2 b/roles/wofi/templates/powermenu.sh.j2 index 1230756..1ae0de4 100755 --- a/roles/wofi/templates/powermenu.sh.j2 +++ b/roles/wofi/templates/powermenu.sh.j2 @@ -4,15 +4,15 @@ action=$(echo -e "suspend\nlock\nlogout\nshutdown\nreboot" | wofi -d -p "power:" if [[ "$action" == "lock" ]] then - swaylock + swaylock-fancy --font "JetBrains-Mono-Light" fi if [[ "$action" == "suspend" ]] then {% if ansible_distribution_release == "void" %} - swaylock && sudo zzz + swaylock-fancy --font "JetBrains-Mono-Light" && sudo zzz {% else %} - swaylock && systemctl suspend + swaylock-fancy --font "JetBrains-Mono-Light" && systemctl suspend {% endif %} fi