mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-06 07:15:53 -04:00
增加配置重载
This commit is contained in:
parent
38138d6ec0
commit
1d58841bfd
3 changed files with 9 additions and 1 deletions
5
maomao.c
5
maomao.c
|
|
@ -4452,6 +4452,11 @@ void parse_config(void) {
|
|||
|
||||
}
|
||||
|
||||
void reload_config(const Arg *arg) {
|
||||
free_config();
|
||||
parse_config();
|
||||
}
|
||||
|
||||
void setup(void) {
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue