Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use serialization utils from rde for ini configurations #29

Open
Frewacom opened this issue Feb 17, 2022 · 0 comments
Open

Use serialization utils from rde for ini configurations #29

Frewacom opened this issue Feb 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Frewacom
Copy link
Member

Frewacom commented Feb 17, 2022

Instead of using our own (very basic) alist to ini serializer, we can use the one from rde.

For example, it can be implemented like this, and then used as follows (see this repo):

   (service
    home-mako-service-type
    (home-mako-configuration
     (package mako)
     (config
      `((sort . -time)
        (actions . 0)
        (icons . 0)
        (font . "Iosevka Light 14")
        (text-color . "#000000")
        (background-color . "#FFFFFF")
        (border-color . "#721045")
        (layer . overlay)
        (border-size . 2)
        (padding . 10)
        (width . 400)
        (group-by . app-name)
        (ignore-timeout . 1)
        (default-timeout . 3500)
        ((mode dnd)
         .
         ((invisible . 1)))))))
@Frewacom Frewacom added the enhancement New feature or request label Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant