13 lines
206 B
Fish
Executable File
13 lines
206 B
Fish
Executable File
#!/usr/bin/fish
|
|
|
|
# configured for wayland
|
|
set LOCKPROG hyprlock
|
|
|
|
# check if lock program is running
|
|
if ps -e | grep " $LOCKPROG\$"
|
|
echo "$LOCKPROG is already running"
|
|
exit 1
|
|
end
|
|
|
|
ba $LOCKPROG $argv
|