-
-
Notifications
You must be signed in to change notification settings - Fork 31
HowTo: Stage your own version of Regolith configuration files
Regolith uses a number of files in /etc/regolith
to determine the behavior and look of various components. While it's possible to simply edit these files directly, users who do so run the risk of having their configurations overwritten upon future updates. The Debian packaging system should ask users if they wish to take updates or keep the existing files, but this may have unintended side effects if users take partial updates of files. As such Regolith, upon login, will look for user-staged version of configuration files and load those instead if they exist. This is recommended over editing the files in /etc/regolith
directly as it gives the user more control over their configuration. This page describes how to create these files.
- Copy the default Regolith i3 config file into your home directory:
$ mkdir -p ~/.config/regolith/i3
$ cp /etc/regolith/i3/config ~/.config/regolith/i3/config
- Log out and back in. The Regolith session will automatically detect your user-staged file and use that over the default in
/etc/regolith/i3
. - Verify by running
i3 --moreversion
and noting the config file that is printed as a result.
- Copy the root Regolith Xresource file into your home directory:
$ cp /etc/regolith/styles/root ~/.Xresources-regolith
- Log out and back in. The Regolith session will automatically detect your user-staged file and use that over the default in
/etc/regolith/styles
.
Note that this root file is simply a reference to other styles that are broken down by the thing they are designed to style. For example, if you wish to customize the look of i3, you will need to also copy /etc/regolith/styles/i3-wm
into your user directory and then update the reference to the new file in your ~/.Xresources-regolith
.
Since most of this wiki content was created, a new site for Regolith was created. This wiki content was written for Regolith 1.2 but most of it still applies to 1.3. However, it is suggested to first check if the information you are looking for is here.