From 075e8ac472403934f4ca383beae2cd9ac555f71a Mon Sep 17 00:00:00 2001 From: remph Date: Thu, 31 Oct 2024 18:26:08 +0000 Subject: Minor changes: * Allow changing volume/brightness while locked in Sway * Ensure separate wob instance for each WAYLAND_DISPLAY * Update copyright, mostly for other branches based on this --- swob.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'swob.sh') diff --git a/swob.sh b/swob.sh index bdcdf01..77968fa 100755 --- a/swob.sh +++ b/swob.sh @@ -1,12 +1,10 @@ #!/bin/sh # SPDX-FileCopyrightText: 2023-2024 The Remph -# SPDX-License-Identifier: FSFULLRWD +# SPDX-License-Identifier: GPL-3.0-or-later -wobfifo=${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/wob -wobini= -readonly wobfifo -# `set -e' comes after readonly, which isn't vital enough to kill the script for set ${BASH_VERSION:+-o pipefail} -efmu +wobfifo=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY.swob +wobini= set_wobini() { for dir in ${XDG_CONFIG_HOME:+"$XDG_CONFIG_HOME"} ~/.config /etc; do -- cgit