✨ chore: lots of improvements, exec apps with uwsm if in usage
also, started using `AstalWp.Endpoint.description` instead of the `name` property when showing device names, thanks to @NotMephisto in #9
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { GObject, Variable } from "astal";
|
||||
import { Astal, Gdk, Gtk, Widget } from "astal/gtk3";
|
||||
import { cleanExec, getAppIcon, getApps, getAstalApps } from "../scripts/apps";
|
||||
import { execApp, getAppIcon, getApps, getAstalApps } from "../scripts/apps";
|
||||
import AstalApps from "gi://AstalApps";
|
||||
import { PopupWindow } from "../widget/PopupWindow";
|
||||
|
||||
@@ -83,7 +83,7 @@ export const AppsWindow = (mon: number): (Widget.Window) => {
|
||||
button.set_can_focus(false);
|
||||
|
||||
const openFun = () => {
|
||||
cleanExec(app);
|
||||
execApp(app);
|
||||
window.close();
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { exec, execAsync, Gio, GLib } from "astal";
|
||||
import { AskPopup } from "../widget/AskPopup";
|
||||
import { Windows } from "../windows";
|
||||
import { Notifications } from "../scripts/notifications";
|
||||
import AstalNotifd from "gi://AstalNotifd?version=0.1";
|
||||
import AstalNotifd from "gi://AstalNotifd";
|
||||
|
||||
|
||||
const { TOP, LEFT, RIGHT, BOTTOM } = Astal.WindowAnchor;
|
||||
|
||||
Reference in New Issue
Block a user