mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: update ags
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
import Dashboard from "./dashboard/Dashboard.js";
|
import Dashboard from "./dashboard/Dashboard.js";
|
||||||
import Desktop from "./desktop/Desktop.js";
|
import Desktop from "./desktop/Desktop.js";
|
||||||
import FloatingDock from "./dock/FloatingDock.js";
|
|
||||||
import Lockscreen from "./lockscreen/Lockscreen.js";
|
import Lockscreen from "./lockscreen/Lockscreen.js";
|
||||||
import Notifications from "./notifications/Notifications.js";
|
import Notifications from "./notifications/Notifications.js";
|
||||||
import OSD from "./osd/OSD.js";
|
import OSD from "./osd/OSD.js";
|
||||||
@@ -20,7 +19,6 @@ initWallpaper();
|
|||||||
|
|
||||||
const windows = () => [
|
const windows = () => [
|
||||||
forMonitors(Desktop),
|
forMonitors(Desktop),
|
||||||
forMonitors(FloatingDock),
|
|
||||||
forMonitors(Lockscreen),
|
forMonitors(Lockscreen),
|
||||||
forMonitors(Notifications),
|
forMonitors(Notifications),
|
||||||
forMonitors(OSD),
|
forMonitors(OSD),
|
||||||
|
|||||||
@@ -29,11 +29,11 @@ function getColor(scss) {
|
|||||||
|
|
||||||
export function hyprlandInit() {
|
export function hyprlandInit() {
|
||||||
sendBatch(
|
sendBatch(
|
||||||
Array.from(App.windows).flatMap(([name]) => [
|
App.windows.flatMap(({ name }) => [
|
||||||
`layerrule blur, ${name}`,
|
`layerrule blur, ${name}`,
|
||||||
noIgnorealpha.some((skip) => name.includes(skip))
|
noIgnorealpha.some((skip) => name?.includes(skip))
|
||||||
? ""
|
? ""
|
||||||
: `layerrule ignorealpha 0.6, ${name}`,
|
: `layerrule ignorealpha 0.3, ${name}`,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user