home-environments: radio: Set up zathura configuration via home-zathura-service

pull/1/head
Luis Guilherme Coelho 2023-11-28 23:11:27 -03:00
parent 7bacaba997
commit c80ff54ad9
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
2 changed files with 35 additions and 26 deletions

View File

@ -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}"

View File

@ -10,6 +10,7 @@
(radix home services) (radix home services)
(radix home services shells) (radix home services shells)
(radix home services gnupg) (radix home services gnupg)
(radix home services zathura)
(radix utils) (radix utils)
((radix files awesome) #:prefix file:awesome-) ((radix files awesome) #:prefix file:awesome-)
((radix files emacs) #:prefix file:emacs-) ((radix files emacs) #:prefix file:emacs-)
@ -19,8 +20,7 @@
((radix files kakoune) #:prefix file:kak-) ((radix files kakoune) #:prefix file:kak-)
((radix files lf) #:prefix file:lf-) ((radix files lf) #:prefix file:lf-)
((radix files mpv) #:prefix file:mpv-) ((radix files mpv) #:prefix file:mpv-)
((radix files newsraft) #:prefix file:newsraft-) ((radix files newsraft) #:prefix file:newsraft-))
((radix files zathura) #:prefix file:zathura-))
(use-package-modules (use-package-modules
#|A|# admin #|A|# admin
@ -163,8 +163,7 @@
("kak/autoload/colorscheme.kak" ,file:kak-colorscheme) ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme)
("lf" ,file:lf-config) ("lf" ,file:lf-config)
("mpv" ,file:mpv-config) ("mpv" ,file:mpv-config)
("newsraft" ,file:newsraft-config) ("newsraft" ,file:newsraft-config)))
("zathura" ,file:zathura-config)))
#|Guix service|# #|Guix service|#
(simple-service 'channels-service (simple-service 'channels-service
@ -484,6 +483,38 @@
(pinentry-program (pinentry-program
(file-append pinentry "/bin/pinentry-curses")))) (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|# #|Mcron service|#
(service home-mcron-service-type (service home-mcron-service-type
(home-mcron-configuration (home-mcron-configuration