Skip to content

Conversation

Insprill
Copy link
Contributor

@Insprill Insprill commented Jul 5, 2025

This makes two changes to the default configs:

config.toml:
Switched the client and server sections. These were backward compared to the actual implementation, with all properties being under the client section, and the server section being empty.

#[derive(Deserialize, Default, Debug)]
#[serde(deny_unknown_fields)]
pub struct ClientConfig {}
#[derive(Deserialize, Default, Debug, Clone)]
#[serde(deny_unknown_fields)]
pub struct ServerConfig {
pub style: Option<PathBuf>,
pub top_margin: Option<f32>,
pub max_volume: Option<u8>,
pub show_percentage: Option<bool>,
pub playerctl_format: Option<String>,
}

Closes #145.

backend.toml:
Added ignore_caps_lock_key with its default value, and a comment inspired by the comment where it's used in code.

Insprill added 2 commits July 4, 2025 23:35
The properties listed under the client config are actually in the server
config, with the client config being empty.
Copy link
Owner

@ErikReider ErikReider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :D

@ErikReider ErikReider merged commit 7011e99 into ErikReider:main Jul 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cant enable percentage in swayosd for volume
2 participants