♻️ refactor: rename src/scripts -> src/modules

this is a better name
This commit is contained in:
retrozinndev
2025-08-12 15:07:51 -03:00
parent 1e5aa0b179
commit 28c97fe189
53 changed files with 70 additions and 68 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { Astal, Gdk, Gtk } from "ags/gtk4";
import { execApp, getAppIcon, getApps, getAstalApps } from "../scripts/apps";
import { execApp, getAppIcon, getApps, getAstalApps } from "../modules/apps";
import { getPopupWindowContainer, PopupWindow } from "../widget/PopupWindow";
import AstalApps from "gi://AstalApps";
import Pango from "gi://Pango?version=1.0";
import { createState, For } from "ags";
import { escapeUnintendedMarkup } from "../scripts/utils";
import { escapeUnintendedMarkup } from "../modules/utils";
const ignoredKeys = [
+1 -1
View File
@@ -2,7 +2,7 @@ import { Gtk } from "ags/gtk4";
import { Separator } from "../widget/Separator";
import { PopupWindow } from "../widget/PopupWindow";
import { BigMedia } from "../widget/center-window/BigMedia";
import { time, variableToBoolean } from "../scripts/utils";
import { time, variableToBoolean } from "../modules/utils";
import { createBinding } from "ags";
import AstalMpris from "gi://AstalMpris?version=0.1";
+1 -1
View File
@@ -1,6 +1,6 @@
import { Astal, Gtk } from "ags/gtk4";
import { createBinding, For } from "ags";
import { Notifications } from "../scripts/notifications";
import { Notifications } from "../modules/notifications";
import { NotificationWidget } from "../widget/Notification";
import AstalNotifd from "gi://AstalNotifd?version=0.1";
+3 -3
View File
@@ -2,9 +2,9 @@ import { Astal, Gdk, Gtk } from "ags/gtk4";
import { execAsync } from "ags/process";
import { generalConfig } from "../app";
import { AskPopup } from "../widget/AskPopup";
import { Notifications } from "../scripts/notifications";
import { NightLight } from "../scripts/nightlight";
import { time } from "../scripts/utils";
import { Notifications } from "../modules/notifications";
import { NightLight } from "../modules/nightlight";
import { time } from "../modules/utils";
import GObject from "ags/gobject";
import AstalNotifd from "gi://AstalNotifd";
+1 -1
View File
@@ -1,6 +1,6 @@
import { Astal, Gtk } from "ags/gtk4";
import { createBinding, createState } from "ags";
import { Wireplumber } from "../scripts/volume";
import { Wireplumber } from "../modules/volume";
import { Windows } from "../windows";
import { Time, timeout } from "ags/time";