diff --git a/files/zathura/zathurarc b/files/zathura/zathurarc deleted file mode 100644 index 2ce7bd6..0000000 --- a/files/zathura/zathurarc +++ /dev/null @@ -1,22 +0,0 @@ -set selection-clipboard clipboard - -map gk goto top -map gj goto bottom -unmap d - -set pages-per-row 1 - -set statusbar-home-tilde true -set recolor-keephue true - -set index-bg "#000000" -set index-active-fg "#000000" -set index-active-bg "#9688D9" - -set completion-bg "#000000" -set completion-highlight-fg "#000000" -set completion-highlight-bg "#9688D9" - -# LATEX -set synctex true -set synctex-editor-command "code -g %{input}:%{line}" diff --git a/radio.scm b/radio.scm index 91d3262..ead94de 100644 --- a/radio.scm +++ b/radio.scm @@ -10,6 +10,7 @@ (radix home services) (radix home services shells) (radix home services gnupg) + (radix home services zathura) (radix utils) ((radix files awesome) #:prefix file:awesome-) ((radix files emacs) #:prefix file:emacs-) @@ -19,8 +20,7 @@ ((radix files kakoune) #:prefix file:kak-) ((radix files lf) #:prefix file:lf-) ((radix files mpv) #:prefix file:mpv-) - ((radix files newsraft) #:prefix file:newsraft-) - ((radix files zathura) #:prefix file:zathura-)) + ((radix files newsraft) #:prefix file:newsraft-)) (use-package-modules #|A|# admin @@ -163,8 +163,7 @@ ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme) ("lf" ,file:lf-config) ("mpv" ,file:mpv-config) - ("newsraft" ,file:newsraft-config) - ("zathura" ,file:zathura-config))) + ("newsraft" ,file:newsraft-config))) #|Guix service|# (simple-service 'channels-service @@ -484,6 +483,38 @@ (pinentry-program (file-append pinentry "/bin/pinentry-curses")))) + #|Desktop application services|# + (service home-zathura-service-type + (home-zathura-configuration + (key-maps + (list (key-map + (binding "gk") + (command "goto top")) + (key-map + (binding "gj") + (command "goto bottom")) + (key-map + (binding "d") + (command #f)))) + (selection-clipboard 'clipboard) + (index-face + (face (background "#000000") + (foreground "#dddddd"))) + (index-active-face + (face (background "#9688d9") + (foreground "#000000"))) + (completion-face + (face (background "#000000") + (foreground "#dddddd"))) + (completion-highlight-face + (face (background "#000000") + (foreground "#9688d9"))) + (pages-per-row 1) + (statusbar-home-tilde? #t) + (recolor (recolor-configuration + (keephue? #t) + (reverse-video? #t))))) + #|Mcron service|# (service home-mcron-service-type (home-mcron-configuration