diff --git a/src/components/main/index.js b/src/components/main/index.js index 74207b72..29c6c46f 100644 --- a/src/components/main/index.js +++ b/src/components/main/index.js @@ -160,6 +160,7 @@ const SortableItem = sortableElement(({ value }) => { picturePath={picturePath} transparentBackground={transparentBackground} order={index} + hibernated={hibernated} onClick={() => requestSetActiveWorkspace(id)} onContextMenu={(e) => { e.preventDefault(); diff --git a/src/components/main/workspace-selector.js b/src/components/main/workspace-selector.js index a90b033a..abc6ca25 100644 --- a/src/components/main/workspace-selector.js +++ b/src/components/main/workspace-selector.js @@ -28,6 +28,9 @@ const styles = (theme) => ({ borderLeft: '4px solid', borderColor: 'transparent', }, + rootHibernate: { + opacity: 0.4, + }, rootActive: { borderColor: theme.palette.type === 'dark' ? theme.palette.common.white : theme.palette.common.black, opacity: 1, @@ -87,6 +90,7 @@ const WorkspaceSelector = ({ active, badgeCount, classes, + hibernated, id, onClick, onContextMenu, @@ -96,7 +100,11 @@ const WorkspaceSelector = ({ }) => (