fix hyprland keyboard-layout signal #52

This commit is contained in:
Aylur
2023-08-21 03:43:04 +02:00
parent 0ee0d5245b
commit 57e339c7b6
+3 -4
View File
@@ -184,11 +184,10 @@ class HyprlandService extends Service {
this.emit('urgent-window', argv[0]);
break;
case 'activelayout': {
const [kbName, layoutName] = argv[0].split(',');
this.emit('keyboard-layout', `${kbName}`, `${layoutName}`);
case 'activelayout':
this.emit('keyboard-layout', `${argv[0]}`, `${argv[1]}`);
break;
}
case 'changefloating': {
const client = this._clients.get(argv[0]);
if (client)