Skip to content

RFE: teach sway -C to obey include directives. #6488

Open
@james-lawrence

Description

given a sway config that has 2 files:

# ~/.config/sway/config
set $mod Mod4

include config.d/*
# ~/.config/sway/config.d/config2
bindsym $mod+question echo "help!"

running sway -C -c ~/.config/sway/config doesn't validate the entire configuration just the exact file.
running sway -C -c ~/.config/sway/config.d/config2 will fail because its relying on state from the parent configuration.

this means multi file configurations can't be validated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    configRelated to commands, config parsing or reloadenhancementNew feature or incremental improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions