From 0ca4105deccf24424de4926da4a85938579ab88d Mon Sep 17 00:00:00 2001 From: anemofilia Date: Mon, 7 Aug 2023 23:26:32 -0300 Subject: [PATCH] chore: declare the xdg-configuration-files of the most used user applications --- modules/radix/files/awesome.scm | 11 +++++++ modules/radix/files/{kak.scm => kakoune.scm} | 0 modules/radix/files/lf.scm | 11 +------ modules/radix/files/newsraft.scm | 5 +--- radio.scm | 30 +++++++++++++++++--- 5 files changed, 39 insertions(+), 18 deletions(-) create mode 100644 modules/radix/files/awesome.scm rename modules/radix/files/{kak.scm => kakoune.scm} (100%) diff --git a/modules/radix/files/awesome.scm b/modules/radix/files/awesome.scm new file mode 100644 index 0000000..a0dbb0d --- /dev/null +++ b/modules/radix/files/awesome.scm @@ -0,0 +1,11 @@ +(define-module (radix files awesome) + #:use-module (gnu) + #:export (config theme)) + +(define config + (local-file "../../../files/awesome/rc.lua")) + +(define colorscheme + (local-file "../../../files/awesome/themes/anemofilia/theme.lua")) + + diff --git a/modules/radix/files/kak.scm b/modules/radix/files/kakoune.scm similarity index 100% rename from modules/radix/files/kak.scm rename to modules/radix/files/kakoune.scm diff --git a/modules/radix/files/lf.scm b/modules/radix/files/lf.scm index f43df6f..c534ef5 100644 --- a/modules/radix/files/lf.scm +++ b/modules/radix/files/lf.scm @@ -1,15 +1,6 @@ (define-module (radix files lf) #:use-module (gnu) - #:export (cleaner config run preview)) - -(define cleaner - (local-file "../../../files/lf/cleaner")) + #:export (config)) (define config (local-file "../../../files/lf/lfrc")) - -(define run - (local-file "../../../files/lf/lfrun")) - -(define preview - (local-file "../../../files/lf/preview")) diff --git a/modules/radix/files/newsraft.scm b/modules/radix/files/newsraft.scm index 94babc0..25d5992 100644 --- a/modules/radix/files/newsraft.scm +++ b/modules/radix/files/newsraft.scm @@ -1,9 +1,6 @@ (define-module (radix files newsraft) #:use-module (gnu) - #:export (config input)) + #:export (config)) (define config (local-file "../../../files/newsraft/config")) - -(define input - (local-file "../../../files/newsraft/feeds")) diff --git a/radio.scm b/radio.scm index 6751257..54fd8a4 100644 --- a/radio.scm +++ b/radio.scm @@ -7,7 +7,16 @@ (radix packages wm) (radix home services) (radix utils) - ((radix files fish) #:prefix file:fish-) + ((radix files awesome) #:prefix file:awesome-) + ((radix files emacs) #:prefix file:emacs-) + ((radix files fish) #:prefix file:fish-) + ((radix files git) #:prefix file:git-) + ((radix files info) #:prefix file:info-) + ((radix files kak) #: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-) #|SRFI |# (srfi srfi-13) (srfi srfi-26)) @@ -190,9 +199,22 @@ (simple-service 'xdg-configuration-files-service home-xdg-configuration-files-service-type - `(("fish/fish_variables" ,file:fish-variables) - ("fish/functions/fish_greeting.fish" ,file:fish-functions-greeting) - ("fish/functions/fish_prompt.fish" ,file:fish-functions-prompt))) + `(("awesome/rc.lua" ,file:awesome-config) + ("awesome/themes/anemofilia/theme.lua" ,file:awesome-theme) + ("emacs/init.el" ,file:emacs-init) + ("emacs/theme.el" ,file:emacs-theme) + ("fish/fish_variables" ,file:fish-variables) + ("fish/functions/fish_greeting.fish" ,file:fish-functions-greeting) + ("fish/functions/fish_prompt.fish" ,file:fish-functions-prompt) + ("git/config" ,file:git-config) + ("infokeys" ,file:info-keys) + ("kak/kakrc" ,file:kak-config) + ("kak/autoload/colorscheme.kak" ,file:kak-colorscheme) + ("lf/lfrc" ,file:lf-config) + ("mpv/mpv.conf" ,file:mpv-config) + ("mpv/input.conf" ,file:mpv-input) + ("newsraft/config" ,file:newsraft-config) + ("zathura/zathurarc" ,file:zathura-config))) #|Shepherd service|# (service home-shepherd-service-type)