mirror of https://codeberg.org/anemofilia/zero
home-enviroments: radio: Declare plugin setup in separate services
parent
1388329a0a
commit
ac2d35ddcd
|
@ -349,8 +349,6 @@
|
|||
(home-fish-configuration
|
||||
(plugins
|
||||
(list fish-autopair
|
||||
fish-done
|
||||
fish-fzf
|
||||
fish-puffer))
|
||||
(environment-variables
|
||||
`(#|GNU Privacy Guard|#
|
||||
|
@ -363,41 +361,7 @@
|
|||
("GTK_RC_FILES" . "$XDG_CONFIG_HOME/gtk-2.0/gtkrc")
|
||||
|
||||
#|Ncurses|#
|
||||
("TERMINFO" . "$XDG_DATA_HOME/terminfo")
|
||||
|
||||
#|Plugins|#
|
||||
("__done_allow_nongraphical" . "1")
|
||||
("__done_exclude"
|
||||
. (#|G|# "^git" "'^guix (edit|repl|shell)'"
|
||||
#|K|# "^kak"
|
||||
#|L|# "^lf"
|
||||
#|M|# "^mpv"
|
||||
#|N|# "^newsraft"))
|
||||
("__done_notification_command"
|
||||
. "notify-send '$title' '$message'")
|
||||
("FZF_DEFAULT_OPTS" . ("--filepath-word"
|
||||
"--height=~40%"
|
||||
"--layout=reverse"
|
||||
"--scheme=path"
|
||||
"--scroll-off=2"))
|
||||
("fzf_preview_dir_cmd" . "")
|
||||
;; adicionar toggle de dotfiles na lista e no preview
|
||||
;; adicionar toggle pro base-directory ser $PWD
|
||||
("fzf_fd_opts" . ("--absolute-path"
|
||||
"--exclude='\\..*'"
|
||||
"--follow"
|
||||
"--base-directory=$HOME"
|
||||
"--type=directory"))))
|
||||
(config
|
||||
(list (plain-file "fish-fzf.fish"
|
||||
(string-join
|
||||
(list "fzf_configure_bindings"
|
||||
"--directory=@@"
|
||||
"--git_log=@l"
|
||||
"--git_status=@s"
|
||||
"--history=@h"
|
||||
"--processes="
|
||||
"--variables=")))))
|
||||
("TERMINFO" . "$XDG_DATA_HOME/terminfo")))
|
||||
(aliases
|
||||
`(#|Common aliases|#
|
||||
("df" . "df -h")
|
||||
|
@ -457,6 +421,54 @@
|
|||
(:system . ,(edit "/etc/config.scm"))
|
||||
(:home . ,(edit "~/.config/guix/home.scm"))
|
||||
(:todo . ,(edit "~/areas/meta/todo")))))))))
|
||||
(simple-service 'home-fish-colored-man home-fish-service-type
|
||||
(home-fish-extension
|
||||
(plugins
|
||||
(list fish-colored-man))
|
||||
(environment-variables
|
||||
`(("man_bold" . ("-o" "blue"))))))
|
||||
(simple-service 'home-fish-done home-fish-service-type
|
||||
(home-fish-extension
|
||||
(plugins
|
||||
(list fish-done))
|
||||
(environment-variables
|
||||
`(("__done_allow_nongraphical" . "1")
|
||||
("__done_exclude"
|
||||
. (#|G|# "^git" "'^guix (edit|repl|shell)'"
|
||||
#|K|# "^kak"
|
||||
#|L|# "^lf"
|
||||
#|M|# "^mpv"
|
||||
#|N|# "^newsraft"))
|
||||
("__done_notification_command"
|
||||
. "notify-send '$title' '$message'")))))
|
||||
(simple-service 'home-fish-fzf home-fish-service-type
|
||||
(home-fish-extension
|
||||
(plugins
|
||||
(list fish-fzf))
|
||||
(config
|
||||
(list (plain-file "fish-fzf.fish"
|
||||
(string-join
|
||||
`("fzf_configure_bindings"
|
||||
"--directory=@@"
|
||||
"--git_log=@l"
|
||||
"--git_status=@s"
|
||||
"--history=@h"
|
||||
"--processes="
|
||||
"--variables=")))))
|
||||
(environment-variables
|
||||
;; adicionar toggle de dotfiles na lista e no preview
|
||||
;; adicionar toggle pro base-directory ser $PWD
|
||||
`(("fzf_preview_dir_cmd" . "")
|
||||
("FZF_DEFAULT_OPTS" . ("--filepath-word"
|
||||
"--height=~40%"
|
||||
"--layout=reverse"
|
||||
"--scheme=path"
|
||||
"--scroll-off=2"))
|
||||
("fzf_fd_opts" . ("--absolute-path"
|
||||
"--exclude='\\..*'"
|
||||
"--follow"
|
||||
"--base-directory=$HOME"
|
||||
"--type=directory"))))))
|
||||
|
||||
#|Environment variables services|#
|
||||
(simple-service 'home-shell-environment-variables
|
||||
|
|
Loading…
Reference in New Issue