refactor: use service instead of simple-service whenever possible

pull/1/head
anemofilia 2023-10-02 09:26:03 -03:00
parent d8de79bf59
commit 1eec92abfd
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 78 additions and 81 deletions

View File

@ -94,12 +94,11 @@
(cache-home "$HOME/.cache")
(config-home "$HOME/.config")
(data-home "$HOME/.local/share")
(runtime-dir "/run/user/1000")
(log-home "$HOME/.local/var/log")
(state-home "$HOME/.local/state")))
(state-home "$HOME/.local/state")
(runtime-dir "/run/user/1000")))
(simple-service 'xdg-user-directories-service
home-xdg-user-directories-service-type
(service home-xdg-user-directories-service-type
(home-xdg-user-directories-configuration
(desktop "$HOME/area")
(documents "$HOME/documents")
@ -110,8 +109,7 @@
(publicshare "")
(templates "")))
(simple-service 'xdg-mime-applications-service
home-xdg-mime-applications-service-type
(service home-xdg-mime-applications-service-type
(home-xdg-mime-applications-configuration
(default (associate-right
('icecat.desktop
@ -161,8 +159,7 @@
"application/pdf"
"application/epub+zip"))))))
(simple-service 'xdg-configuration-files-service
home-xdg-configuration-files-service-type
(service home-xdg-configuration-files-service-type
`(("awesome/rc.lua" ,file:awesome-config)
("awesome/themes/current.lua" ,file:awesome-theme)
("emacs/init.el" ,file:emacs-init)