1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

Filter out scratch_term ws on hyprland

This commit is contained in:
bbedward
2025-10-06 09:38:10 -04:00
parent 3524d365be
commit e24ddb804d

View File

@@ -29,6 +29,8 @@ Rectangle {
}
if (CompositorService.isHyprland) {
const baseList = getHyprlandWorkspaces()
// Filter out special:scratch_term
const filteredList = baseList.filter(ws => ws.name !== "special:scratch_term" && ws.id !== -98)
return SettingsData.showWorkspacePadding ? padWorkspaces(baseList) : baseList
}
return [1]