ErikReider / ErikReider/SwayNotificationCenter
[Bug] Slider widget not displaying
- Dominant language
- Vala
- Stars
- 2.6k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When using the slider widget only the label is showed. This might be due to bad configuration though.
**To Reproduce**
Just add the slider widget in the config file as so :
"slider": {
"label": "",
"cmd_setter": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ $value",
"cmd_getter": "wpctl get-volume @DEFAULT_AUDIO_SOURCE@ | awk -F ' ' '{print $2*100}'"
},
**Expected behavior**
When the slider widget is enabled, a slider should be shown.
**Screenshots**
**Desktop (please complete the following information):**
- OS: Fedora Workstation 44 Beta
- Version 0.12.6
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the provided slider configuration on Fedora and the reported version, checking whether the widget renders beyond its label. Verify the `cmd_setter` and `cmd_getter` commands and confirm that enabling the slider produces a visible control rather than only the label.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- awk, linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100