9 lines
113 B
Text
9 lines
113 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
if is_wayland; then
|
||
|
swaylock &
|
||
|
else
|
||
|
dm-tool switch-to-greeter &
|
||
|
fi
|
||
|
sudo systemctl suspend
|