♻️ refactor: rename src/scripts -> src/modules
this is a better name
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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,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";
|
||||
|
||||
@@ -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
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user