mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
config swaylock-fancy in powermenu
This commit is contained in:
parent
e70c306ca9
commit
95a8975bea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user