mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
fix: add name_raw to unsupported modules
This commit is contained in:
parent
a287fb5e8c
commit
457e37faaf
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ namespace modules {
|
|||
MODULE_NAME(const bar_settings, string) { \
|
||||
throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \
|
||||
} \
|
||||
string name_raw() const { \
|
||||
return ""; \
|
||||
} \
|
||||
string name() const { \
|
||||
return ""; \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue