diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-11-14 14:39:04 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-11-14 14:39:04 -0500 |
| commit | 5b31e04513b3dbf88d9137bff7ec4642250921d5 (patch) | |
| tree | 6679d7deb27db9e57a5851a85cc669116519e6c6 /.local/bin/opout | |
| parent | ee0203f2ac5931bd87e07dc6d0105d62a8417367 (diff) | |
| download | eibhear-5b31e04513b3dbf88d9137bff7ec4642250921d5.tar.gz eibhear-5b31e04513b3dbf88d9137bff7ec4642250921d5.tar.zst eibhear-5b31e04513b3dbf88d9137bff7ec4642250921d5.zip | |
pulseaudio replaced with pipewire
Diffstat (limited to '.local/bin/opout')
| -rwxr-xr-x | .local/bin/opout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/opout b/.local/bin/opout index 7f452df..faf6575 100755 --- a/.local/bin/opout +++ b/.local/bin/opout @@ -4,7 +4,7 @@ # usually the pdf of a compiled document. I find this useful especially # running from vim. -basename="$(echo "${*}" | sed 's/\.[^\/.]*$//')" +basename="${1%.*}" case "${*}" in *.tex|*.m[dse]|*.[rR]md|*.mom|*.[0-9]) setsid -f xdg-open "$basename".pdf >/dev/null 2>&1 ;; |
