Commit Graph

25 Commits

Author SHA1 Message Date
magnouvean
a3b881f62e
Add immutableByDefault option (#225) 2024-06-25 09:55:43 +02:00
Toast
d67f2f550a Replace mentions of old repo location with the new one 2024-06-24 16:58:16 +02:00
magnouvean
0537704f79
Add possibility to reset files with overrideConfig disabled (+ some refactoring) (#216) 2024-06-20 13:06:57 +02:00
InternetUnexplorer
123af32615
Fix bug with persistence not respecting overrideConfigExclude (#185) 2024-06-05 10:24:26 +02:00
Quentin Smith
4b56c71c9c
Add tests and fix bugs for write_config.py (#156) 2024-05-01 13:43:20 +02:00
Quentin Smith
6ee48af3cf
Add optional simplified configuration syntax (#144)
* Also tweaked the CI a little bit.

---------

Co-authored-by: magnouvean <85435692+magnouvean@users.noreply.github.com>
2024-04-29 22:45:10 +02:00
magnouvean
bd743369ef
Add support for persistent keys (#127) 2024-04-19 20:51:40 +02:00
magnouvean
3399f8b3b0
Change settings format and add more options for values (#94) 2024-03-27 13:42:15 +01:00
Matthew
dda62b1901
Use nested attrsets for nested sections (#86) 2024-03-23 14:18:13 +01:00
Michael Schneider
02a9761ac6
add github CI (#70) 2024-02-23 14:07:24 +01:00
magnouvean
4e56cfeb95
Various bug fixes (#68)
* Minor refactoring

* Add support for multiple bindings for one action

* Fix encoding bug for escaping some unicode symbols
2024-02-10 19:43:47 +01:00
magnouvean
f11fd52601
Fix bug causing crash when sending in certain symbols (#46) 2024-01-04 16:58:21 +01:00
magnouvean
3ea4071f51
Replace os.mkdir with os.makedirs (#45) 2024-01-03 16:38:40 +01:00
magnouvean
beb0fef2ac
Allow for creating directories in write_config.py (#44) 2024-01-03 15:22:42 +01:00
magnouvean
f2eacf0e53
Replace kwriteconfig5 with custom script (#39)
Replaces kwriteconfig5 with a custom-written python-script `write_config.py`, allowing for more control over config-file modifications
2024-01-03 01:17:06 +01:00
Matthew_Cash
b6241a2f7c module: add options for configs in HOME, XDG_CONFIG_HOME, XDG_DATA_HOME 2023-07-31 11:22:14 -07:00
Naïm Favier
16c437e43a rc2nix: Block more dialogs 2022-09-28 09:51:11 -07:00
Naïm Favier
a668a88cc1 rc2nix: Add more *rc files
Dolphin-related config.
2022-09-28 09:33:47 -07:00
Peter Jones
59598c34df
rc2nix: Block more state settings and theme settings 2022-07-21 17:31:15 -07:00
Peter Jones
5b01a1a8f3
rc2nix: Properly handle shortcuts with no defined keys (fixes #6)
If a shortcut has no keys defined then splitting on the key definition
string will return an empty array, which causes `first` to return
`nil` and all hell breaks lose.  Empty key definitions are suppose to
be set to "none", but if that isn't the case we should handle it.
2022-07-21 17:21:28 -07:00
Peter Jones
9dad3444cc
rc2nix: Skip settings that are dependent on state
This change ensures that settings that are related to state are not
exported as Nix options.  This ensures that settings can be applied on
systems with different states.

For example, settings that are attached to specific Plasma widgets,
color settings that come from themes, or settings relating to window
sizes or positions.
2022-07-15 13:40:22 -07:00
Peter Jones
b2049d216b
rc2nix: Expand the path in XDG_CONFIG_HOME (fixes #4)
If XDG_CONFIG_HOME has a path in it that needs to be expanded, this
script will fail with an error in pathname.rb.  Expanding the path in
that variable fixes the issue.
2022-07-03 10:13:36 -07:00
Peter Jones
8acad695b0
rc2nix: Don't crash on missing files, support nested directories 2022-06-23 13:51:38 -07:00
Peter Jones
65e4ed1364
module: Add shortcuts module 2022-06-22 16:57:14 -07:00
Peter Jones
55a2478ace
script: Add script for converting KDE config files to Nix 2022-06-22 16:57:12 -07:00