feat: finally remove zathura workaround

This commit is contained in:
Pavel Korytov 2022-04-09 12:18:36 +03:00
parent 7190f2c42b
commit 24665dea14
6 changed files with 8 additions and 43 deletions

View file

@ -9,9 +9,9 @@ x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop
image/png=feh.desktop
image/jpg=feh.desktop
image/jpeg=feh.desktop
application/pdf=zathura-wrapper.desktop
application/pdf=org.pwmt.zathura.desktop
[Added Associations]
x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop;
application/pdf=zathura-wrapper.desktop
application/pdf=org.pwmt.zathura.desktop
# MIME:1 ends here

View file

@ -3,7 +3,7 @@ audio/*; mpc add %s
image/*; feh %s
application/msword; /usr/bin/xdg-open %s
application/pdf; zathura-wrapper %s
application/postscript ; zathura-wrapper %s
application/pdf; zathura %s
application/postscript ; zathura %s
text/html; firefox %s

View file

@ -274,11 +274,11 @@ x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop
image/png=feh.desktop
image/jpg=feh.desktop
image/jpeg=feh.desktop
application/pdf=zathura-wrapper.desktop
application/pdf=org.pwmt.zathura.desktop
[Added Associations]
x-scheme-handler/tg=userapp-Telegram Desktop-7PVWF1.desktop;
application/pdf=zathura-wrapper.desktop
application/pdf=org.pwmt.zathura.desktop
#+end_src
** Device-specific settings
| Guix dependency | Description |
@ -3310,24 +3310,6 @@ set notification-error-fg <<get-color(name="color-fg", quote=1)>>
set notification-warning-bg <<get-color(name="yellow", quote=1)>>
set notification-warning-fg <<get-color(name="color-fg", quote=1)>>
#+end_src
For some reason zathura doesn't pick up the plugin directory, so I make a wrapper that sets the directory up:
#+begin_src bash :tangle ~/bin/zathura-wrapper
zathura -p ~/.guix-extra-profiles/office/office/lib/zathura $@
#+end_src
#+begin_src conf-desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Zathura
Exec=/home/pavel/bin/zathura-wrapper %U
#+end_src
Add the following line to the =mimeapps.list=
#+begin_example
application/pdf=zathura-wrapper.desktop
#+end_example
* Various software
This section generates manifests for various desktop software that I'm using.

View file

@ -533,8 +533,8 @@ audio/*; mpc add %s
image/*; feh %s
application/msword; /usr/bin/xdg-open %s
application/pdf; zathura-wrapper %s
application/postscript ; zathura-wrapper %s
application/pdf; zathura %s
application/postscript ; zathura %s
text/html; firefox %s
#+end_src

View file

@ -1,14 +0,0 @@
if [ -d "$HOME/.cargo" ] ; then
export PATH="$HOME/.cargo/bin:$PATH"
fi
if [ -d "$HOME/.rvm" ] ; then
export PATH="$PATH:$HOME/.rvm/bin"
fi
if [ -d "$HOME/go" ] ; then
export PATH="$HOME/go/bin:$PATH"
fi
export PATH="/usr/local/texlive/2020/bin/x86_64-linux:$PATH"
[ -f "/home/pavel/.ghcup/env" ] && source "/home/pavel/.ghcup/env" # ghcup-env
emacs

View file

@ -1,3 +0,0 @@
#/bin/bash
export PORT=8101
(cd /home/pavel/Programs/tabliss; /home/pavel/Programs/miniconda3/bin/node server.js)