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