dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

page (294B)


      1 #!/bin/sh
      2 
      3 # page: opens documents with zathura embedded in tabbed
      4 # if page is already open documents are opened there instead
      5 
      6 xid="$XDG_RUNTIME_DIR/page.xid"
      7 
      8 [ -f "$xid" ] && xprop -id "$(cat "$xid")" >/dev/null 2>&1 ||
      9 	tabbed -n page -cd >| "$xid"
     10 
     11 zathura --fork -e "$(cat "$xid")" "$@"