ErikReider / ErikReider/SwayNotificationCenter

[Feature] Support XDG_CONFIG_HOME and XDG_CONFIG_DIRS

Open
#751 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
2.6k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

**Please read through the README and the Man pages before submitting**
**Please also make sure that there isn't any prior issue describing this feature**

**Is your feature request related to a problem? Please describe.**
When building custom shells that include swaync, it would be great to simply define XDG_CONFIG_DIRS to the shell's entire config and have swaync look up its configuration there instead of ~/.config

**Describe the solution you'd like**
Support the XDG_CONFIG_HOME and XDG_CONFIG_DIR environment variables, respecting search order

**Describe alternatives you've considered**
Running swaync with -s and -c

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the README and man pages first, then trace the existing configuration lookup and the -s/-c options. Confirm the XDG_CONFIG_HOME and XDG_CONFIG_DIRS search order from the issue’s requested behavior; done means swaync finds configuration in those locations instead of only ~/.config while preserving explicit options.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.