cleanup for hyprland lua configs
This commit is contained in:
@@ -79,7 +79,8 @@ Item {
|
||||
}
|
||||
|
||||
onPressed: {
|
||||
Hyprland.dispatch(`workspace ${button.modelData.name}`);
|
||||
const ws = button.modelData.name;
|
||||
Hyprland.dispatch(Hyprland.usingLua ? `hl.dsp.focus({ workspace= "${ws}"})` : `workspace ${ws}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user