Commit: d786255323de06e01c8c2c6f559843d67f297526 Parent: 26b75bdfcf5711ebce7eef182e8b309f1d8bec7a Author: Randy Palamar Date: Wed, 22 Feb 2023 17:27:41 -0700 page: $(<x) is not POSIX and xprop check shouldn't be a subshell Diffstat:
M | bin/page | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/page b/bin/page @@ -5,7 +5,7 @@ xid="$XDG_RUNTIME_DIR/page.xid" -[ -f "$xid" ] && $(xprop -id "$(<$xid)" >/dev/null 2>&1) || +[ -f "$xid" ] && xprop -id "$(cat "$xid")" >/dev/null 2>&1 || tabbed -n page -cd >| "$xid" -zathura --fork -e "$(<$xid)" "$@" +zathura --fork -e "$(cat "$xid")" "$@"