]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Make zathura work with spaces in filename
authorSergey Matveev <stargrave@stargrave.org>
Sun, 29 Nov 2020 10:30:48 +0000 (13:30 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 29 Nov 2020 10:31:17 +0000 (13:31 +0300)
However it is ugly and breaks other things.
Lazy to think about better solution.

bin/bin/zat

index bc08ec751df1a0ddc5344c3f76c9e000e9e5e047..90c2f6bea2b638390a9ac44635d5bad237d1b019 100755 (executable)
@@ -4,5 +4,5 @@ export PATH=$HOME/local/bin:$PATH
 export XDG_DATA_DIRS=$HOME/local
 export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH
 winid=`start-tabbed.sh zathura -c`
-bin.zathura -e $winid $@
+bin.zathura -e $winid "$1"
 rm -f zathura.core