diff --git a/README.md b/README.md index 5c04379..c579b3f 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ https://github.com/user-attachments/assets/79ceb141-6b9e-4956-8e09-aaf72b66550c - **Hyprland** compositor - **Quickshell** ([installation guide](https://quickshell.org/docs/v0.1.0/guide/install-setup/)) -- **Qt 6** with modules: QtQuick, QtQuick.Controls, Qt5Compat.GraphicalEffects +- **Qt 6** with modules: QtQuick, QtQuick.Controls ### Setup @@ -70,6 +70,27 @@ https://github.com/user-attachments/assets/79ceb141-6b9e-4956-8e09-aaf72b66550c qs -c overview & ``` +### NixOS + +For NixOS users, ensure Quickshell has access to required Qt6 modules: + +```nix +# In your configuration.nix or home-manager config +environment.systemPackages = with pkgs; [ + quickshell + qt6.qtwayland +]; +``` + +If you're using home-manager: + +```nix +home.packages = with pkgs; [ + quickshell + qt6.qtwayland +]; +``` + ## 🎮 Usage | Action | Description | @@ -139,7 +160,6 @@ Edit `~/.config/quickshell/overview/common/Appearance.qml` to customize: - QtQuick - QtQuick.Controls - QtQuick.Layouts - - Qt5Compat.GraphicalEffects - Quickshell.Wayland - Quickshell.Hyprland diff --git a/modules/overview/OverviewWindow.qml b/modules/overview/OverviewWindow.qml index 1325322..d225ba4 100644 --- a/modules/overview/OverviewWindow.qml +++ b/modules/overview/OverviewWindow.qml @@ -1,4 +1,3 @@ -import Qt5Compat.GraphicalEffects import QtQuick import QtQuick.Layouts import Quickshell @@ -42,14 +41,7 @@ Item { // Window height: Math.min((windowData?.size[1] ?? 100) * root.scale, availableWorkspaceHeight) opacity: (windowData?.monitor ?? -1) == widgetMonitorId ? 1 : 0.4 - layer.enabled: true - layer.effect: OpacityMask { - maskSource: Rectangle { - width: root.width - height: root.height - radius: Appearance.rounding.windowRounding * root.scale - } - } + clip: true Behavior on x { animation: Appearance.animation.elementMoveEnter.numberAnimation.createObject(this)