regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

Xresource keybindings #819

Open 5ouls3dge opened 1 year ago

5ouls3dge commented 1 year ago

Describe the bug When changing the config in ~/.config/regolith2/Xresources, i Reload the desktop and the new settings do not take.

To Reproduce Steps to reproduce the behavior: So i copy and changed the files:

Modify // Move Window to Workspace 1 - 10 // <> 0..9

bindsym $alt+$ws1_key move container to workspace number $ws1 bindsym $alt+$ws2_key move container to workspace number $ws2 bindsym $alt+$ws3_key move container to workspace number $ws3

into ~/.config/regolith2/Xresources

Then reload desktop

Try the same with other settings none of them work. Whats the best way to do this?

Thanks

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Configuration file(s) Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

Installation Details

Additional context Add any other context about the problem here.

kgilmer commented 1 year ago

Hi @dewaltz , based on your description, it appears that you're wanting to update i3's config rather than changing Xresource values. Please see this guide for details: https://regolith-desktop.com/docs/howtos/customize-i3-configuration/#how-to-customize-a-default-partial. Essentially you need to put i3 changes in a file like ~/.config/regolith2/i3/config.d/my-i3-stuff.

5ouls3dge commented 1 year ago

I see, copy all the configs just to change 1 entry in each file seems to much, Then delete all the orignals ones.

The warning sounds good:

WARNING: To customize only one of Regolith’s default partials, you must first ensure that the file ~/.config/regolith2/i3/config does not exist. This overrides Regolith’s defaults entirely, which is incompatible with this how-to.

Or maybe im reading that wrong.

I thought maybe it loads all the defaults, then over rides any that is in the new file. the old one file was great, as it was simple after updates or wiping down the pc?

kgilmer commented 1 year ago

The warning means that you're free to override all of regolith's settings and just provide your own i3 config file as you see fit. I agree that a single file is much simpler and easier to manage as an end user. From a support perspective however, it's not feasible to manage updates across UI components in a single config file.