Currently, shojiwm uses keybindings to reload configuration and quit:
Win+Shift+Q -> Quit WM
Win+Shift+R -> Reload configuration
It would be great to provide command-line options (such as shojiwm -q and shojiwm -r) to perform these operations from the terminal, and allow users to customize their own keybindings for these actions.
Why this is useful (Use cases)
Status Bar Integration: Allows status bars (like Waybar or Polybar) to call shojiwm -r or shojiwm -q directly via click events (e.g., custom power menus or reload icons).
Custom Keybindings: Gives users the flexibility to map reload and exit actions to any hotkey combination they prefer.
Scripting & Automation: Makes it straightforward to automatically reload configuration in user scripts or dotfile deployment tools.
Currently, shojiwm uses keybindings to reload configuration and quit:
It would be great to provide command-line options (such as shojiwm -q and shojiwm -r) to perform these operations from the terminal, and allow users to customize their own keybindings for these actions.
Why this is useful (Use cases)
Status Bar Integration: Allows status bars (like Waybar or Polybar) to call shojiwm -r or shojiwm -q directly via click events (e.g., custom power menus or reload icons).
Custom Keybindings: Gives users the flexibility to map reload and exit actions to any hotkey combination they prefer.
Scripting & Automation: Makes it straightforward to automatically reload configuration in user scripts or dotfile deployment tools.