diff options
| author | 2024-10-31 18:26:08 +0000 | |
|---|---|---|
| committer | 2024-11-03 02:49:53 +0000 | |
| commit | 075e8ac472403934f4ca383beae2cd9ac555f71a (patch) | |
| tree | 0b15f8fcbea9017b5d361b6733fd3d594bee751c /swob.sh | |
| parent | b07d54a12e7d42228093d0da7365617defd042e6 (diff) | |
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
Diffstat (limited to 'swob.sh')
| -rwxr-xr-x | swob.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,12 +1,10 @@ #!/bin/sh # SPDX-FileCopyrightText: 2023-2024 The Remph <lhr@disroot.org> -# 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 |
