Some changes
This commit is contained in:
@ -14,11 +14,11 @@ function has-rootful-xwayland-p {
|
||||
|
||||
function run {
|
||||
# ensure multiple instances do not run
|
||||
mkdir -p "$(dirname "${LOCKFILE}")"
|
||||
mkdir -p "${LOCKFILE:h}"
|
||||
exec 4<>"${LOCKFILE}"
|
||||
flock -n 4 || exit 0
|
||||
dunstctl set-paused true
|
||||
if has-rootful-xwayland-p; then
|
||||
if [[ "${XDG_CURRENT_DESKTOP}" == 'river' ]] && has-rootful-xwayland-p; then
|
||||
swaylock ${empty_flag} --color '#000000'
|
||||
else
|
||||
swayidle -w -C /dev/null \
|
||||
|
Reference in New Issue
Block a user