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

Customization of 30_navigation and 40_workspace-config not possible because of dependency in 50_resize-mode #1023

Closed
2 tasks done
develNor opened this issue Jun 17, 2024 · 2 comments
Labels
bug Something isn't working configuration Issue with custom configuration of Regolith

Comments

@develNor
Copy link

Describe the bug
When using custom partials for common/30_navigation or common/40_workspace-config a sway error in 50_resize-mode appears because it needs variables from these two partials.

To Reproduce

  1. Copy Partials to common/30_navigation and/or common/40_workspace-config to ~/.config/regolith3:
  2. Remove corresponding Packages:
sudo apt purge -y regolith-wm-workspace-config 
sudo apt purge -y regolith-wm-navigation
  1. Reload Sway (Super+Shift+R)
    => Sway Error in 50_resize-mode because of missing variables wm.binding.left, …, wm.binding.move_down

Installation Details

  • Regolith Version: 3.2 (Beta 1)
  • Host OS (for PPA): Ubuntu 24.04
  • Install Commands:
wget -qO - https://regolith-desktop.org/regolith.key | gpg --dearmor | sudo tee /usr/share/keyrings/regolith-archive-keyring.gpg > /dev/null
echo deb "[arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://regolith-desktop.org/testing-ubuntu-noble-amd64 noble main" | sudo tee /etc/apt/sources.list.d/regolith.list
sudo apt update
sudo apt install -y regolith-desktop regolith-session-sway regolith-look-default

Proposal
To resolve the dependency between the partials, I suggest moving the declaration of the variables wm.binding.left, ..., wm.binding.move_down to the general config /etc/regolith/sway/config.

@develNor develNor added bug Something isn't working needs-triage Any bug that requires classification by a contributor labels Jun 17, 2024
@develNor
Copy link
Author

Found another reported issue with the same problem: regolith-linux/regolith-wm-config#23

@kgilmer kgilmer added configuration Issue with custom configuration of Regolith and removed needs-triage Any bug that requires classification by a contributor labels Jul 12, 2024
@jc00ke
Copy link

jc00ke commented Jul 31, 2024

Manually patching etc/regolith/sway/config from regolith-linux/regolith-wm-config#39 worked for me. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working configuration Issue with custom configuration of Regolith
Projects
None yet
Development

No branches or pull requests

3 participants