diff --git a/modules/Bar.qml b/modules/Bar.qml index 6b23515..345184b 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -37,7 +37,7 @@ PanelWindow { Layout.alignment: Qt.AlignLeft spacing: 8 - M.Workspaces {} + // M.Workspaces {} M.Tray { bar: bar } M.WindowTitle { Layout.maximumWidth: 400 } } diff --git a/modules/Workspaces.qml b/modules/Workspaces.qml index 1cc1b12..5240ce8 100644 --- a/modules/Workspaces.qml +++ b/modules/Workspaces.qml @@ -1,36 +1,7 @@ import QtQuick import QtQuick.Layouts -import Quickshell.Services.Niri -import "." as M +// Niri workspace support disabled — Quickshell.Services.Niri not available RowLayout { spacing: 4 - - Repeater { - model: Niri.workspaces - - delegate: Rectangle { - required property var modelData - - implicitWidth: 24 - implicitHeight: 20 - radius: 4 - color: modelData.isFocused - ? M.Theme.base0D - : (modelData.isActive ? M.Theme.base03 : M.Theme.base02) - - Text { - anchors.centerIn: parent - text: modelData.idx ?? modelData.id - color: modelData.isFocused ? M.Theme.base00 : M.Theme.base05 - font.pixelSize: M.Theme.fontSize - font.family: M.Theme.fontFamily - } - - MouseArea { - anchors.fill: parent - onClicked: Niri.dispatch(["action", "focus-workspace", String(modelData.id)]) - } - } - } } diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 9391307..99222ec 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -82,7 +82,8 @@ in home.packages = [ cfg.package ]; xdg.configFile."nova-shell/theme.json".source = - (pkgs.formats.json { }).generate "nova-shell-theme.json" cfg.theme; + (pkgs.formats.json { }).generate "nova-shell-theme.json" + cfg.theme; systemd.user.services.nova-shell = lib.mkIf cfg.systemd.enable { Unit = {