mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
swaybar: handle hotplugging
Don't kill and respawn swaybars on hotplug.
This commit is contained in:
parent
fa4308c5ab
commit
82f1393cbb
6 changed files with 81 additions and 66 deletions
|
|
@ -424,6 +424,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
config->active = true;
|
||||
load_swaybars();
|
||||
// Execute commands until there are none left
|
||||
wlr_log(WLR_DEBUG, "Running deferred commands");
|
||||
while (config->cmd_queue->length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue