mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
Filter out scratch_term ws on hyprland
This commit is contained in:
@@ -29,6 +29,8 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
if (CompositorService.isHyprland) {
|
if (CompositorService.isHyprland) {
|
||||||
const baseList = getHyprlandWorkspaces()
|
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 SettingsData.showWorkspacePadding ? padWorkspaces(baseList) : baseList
|
||||||
}
|
}
|
||||||
return [1]
|
return [1]
|
||||||
|
|||||||
Reference in New Issue
Block a user