#!/usr/bin/sh

################################################################################
# Copyright (C) 2017-2026 NICE s.r.l.
# All Rights Reserved
#
# This software is the confidential and proprietary information
# of NICE s.r.l. ("Confidential Information").
# You shall not disclose such Confidential Information
# and shall use it only in accordance with the terms of
# the license agreement you entered into with NICE.
################################################################################

system=$(uname -s)

if [ "$system" = Darwin ]; then
    osascript -e 'tell application "Finder" to sleep'
else
    /usr/bin/xdg-screensaver lock
fi

# ex: set ts=4 sw=4 et syntax=sh :
