From fddb7ecc056f9c3f51d244df1d769e74c81f4ce4 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 21 Oct 2025 22:58:26 +0200 Subject: [PATCH] remove redundant imports --- .../quickshell/ii/modules/common/functions/Fuzzy.qml | 2 +- .../quickshell/ii/modules/common/functions/Levendist.qml | 2 +- .../ii/modules/common/widgets/NotificationAppIcon.qml | 2 +- .../ii/modules/common/widgets/NotificationGroup.qml | 2 +- .../quickshell/ii/modules/regionSelector/TargetRegion.qml | 8 -------- .../ii/modules/sidebarLeft/anime/BooruResponse.qml | 1 - .../ii/modules/sidebarRight/calendar/CalendarWidget.qml | 2 +- 7 files changed, 5 insertions(+), 14 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/functions/Fuzzy.qml b/dots/.config/quickshell/ii/modules/common/functions/Fuzzy.qml index 7a132ada1..00891ed36 100644 --- a/dots/.config/quickshell/ii/modules/common/functions/Fuzzy.qml +++ b/dots/.config/quickshell/ii/modules/common/functions/Fuzzy.qml @@ -1,6 +1,6 @@ pragma Singleton import Quickshell -import "./fuzzysort.js" as FuzzySort +import "fuzzysort.js" as FuzzySort /** * Wrapper for FuzzySort to play nicely with Quickshell's imports diff --git a/dots/.config/quickshell/ii/modules/common/functions/Levendist.qml b/dots/.config/quickshell/ii/modules/common/functions/Levendist.qml index a327c3c78..0d6a37481 100644 --- a/dots/.config/quickshell/ii/modules/common/functions/Levendist.qml +++ b/dots/.config/quickshell/ii/modules/common/functions/Levendist.qml @@ -1,6 +1,6 @@ pragma Singleton import Quickshell -import "./levendist.js" as Levendist +import "levendist.js" as Levendist /** * Wrapper for levendist.js to play nicely with Quickshell's imports diff --git a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml index 9155bd879..8635f4f78 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml @@ -1,5 +1,5 @@ import qs.modules.common -import "./notification_utils.js" as NotificationUtils +import "notification_utils.js" as NotificationUtils import Qt5Compat.GraphicalEffects import QtQuick import Quickshell diff --git a/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml b/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml index 6e8e1cecc..b4c96978b 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/NotificationGroup.qml @@ -1,7 +1,7 @@ import qs.services import qs.modules.common import qs.modules.common.functions -import "./notification_utils.js" as NotificationUtils +import "notification_utils.js" as NotificationUtils import QtQuick import QtQuick.Layouts import Quickshell diff --git a/dots/.config/quickshell/ii/modules/regionSelector/TargetRegion.qml b/dots/.config/quickshell/ii/modules/regionSelector/TargetRegion.qml index 49a755ab0..627e84c70 100644 --- a/dots/.config/quickshell/ii/modules/regionSelector/TargetRegion.qml +++ b/dots/.config/quickshell/ii/modules/regionSelector/TargetRegion.qml @@ -1,18 +1,10 @@ pragma ComponentBehavior: Bound -import qs import qs.modules.common -import qs.modules.common.functions import qs.modules.common.widgets import qs.services import QtQuick -import QtQuick.Controls -import QtQuick.Layouts -import Qt5Compat.GraphicalEffects import Quickshell -import Quickshell.Io -import Quickshell.Wayland import Quickshell.Widgets -import Quickshell.Hyprland Rectangle { id: regionRect diff --git a/dots/.config/quickshell/ii/modules/sidebarLeft/anime/BooruResponse.qml b/dots/.config/quickshell/ii/modules/sidebarLeft/anime/BooruResponse.qml index 7c9f7fd09..9258dbc9d 100644 --- a/dots/.config/quickshell/ii/modules/sidebarLeft/anime/BooruResponse.qml +++ b/dots/.config/quickshell/ii/modules/sidebarLeft/anime/BooruResponse.qml @@ -4,7 +4,6 @@ import qs.modules.common import qs.modules.common.widgets import qs.modules.common.functions import qs.modules.sidebarLeft -import qs.services import QtQuick import QtQuick.Controls import QtQuick.Layouts diff --git a/dots/.config/quickshell/ii/modules/sidebarRight/calendar/CalendarWidget.qml b/dots/.config/quickshell/ii/modules/sidebarRight/calendar/CalendarWidget.qml index 66055acae..002a9e31f 100644 --- a/dots/.config/quickshell/ii/modules/sidebarRight/calendar/CalendarWidget.qml +++ b/dots/.config/quickshell/ii/modules/sidebarRight/calendar/CalendarWidget.qml @@ -1,7 +1,7 @@ import qs.services import qs.modules.common import qs.modules.common.widgets -import "./calendar_layout.js" as CalendarLayout +import "calendar_layout.js" as CalendarLayout import QtQuick import QtQuick.Layouts