#!/bin/sh swaylock -f export SVDIR="{{@@ user_svdir @@}}" maybe() { command -v $1 > /dev/null && env "$@" } maybe sv up swayidle maybe systemctl --user start sway-idle.service