mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +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" ]]
|
if [[ "$action" == "lock" ]]
|
||||||
then
|
then
|
||||||
swaylock
|
swaylock-fancy --font "JetBrains-Mono-Light"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$action" == "suspend" ]]
|
if [[ "$action" == "suspend" ]]
|
||||||
then
|
then
|
||||||
{% if ansible_distribution_release == "void" %}
|
{% if ansible_distribution_release == "void" %}
|
||||||
swaylock && sudo zzz
|
swaylock-fancy --font "JetBrains-Mono-Light" && sudo zzz
|
||||||
{% else %}
|
{% else %}
|
||||||
swaylock && systemctl suspend
|
swaylock-fancy --font "JetBrains-Mono-Light" && systemctl suspend
|
||||||
{% endif %}
|
{% endif %}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user