Merge pull request #824 from j-d-r/master

Fix: Add CLI command to reload configuration
This commit is contained in:
Matt Rose 2024-02-05 10:43:55 -05:00 committed by GitHub
commit 94254eecf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -110,11 +110,9 @@ if __name__ == '__main__':
elif OPTIONS.toggle_visibility: elif OPTIONS.toggle_visibility:
dbg('requesting to toggle windows visibility') dbg('requesting to toggle windows visibility')
ipc.toggle_visibility_cmdline(optionslist) ipc.toggle_visibility_cmdline(optionslist)
elif OPTIONS.reload:
if OPTIONS.reload:
dbg('requesting to reload configuration for all windows') dbg('requesting to reload configuration for all windows')
ipc.reload_configuration() ipc.reload_configuration()
elif OPTIONS.unhide: elif OPTIONS.unhide:
print('requesting to unhide windows') print('requesting to unhide windows')
ipc.unhide_cmdline(optionslist) ipc.unhide_cmdline(optionslist)