mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 03:26:17 +00:00
feat: update ags
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import Dashboard from "./dashboard/Dashboard.js";
|
||||
import Desktop from "./desktop/Desktop.js";
|
||||
import FloatingDock from "./dock/FloatingDock.js";
|
||||
import Lockscreen from "./lockscreen/Lockscreen.js";
|
||||
import Notifications from "./notifications/Notifications.js";
|
||||
import OSD from "./osd/OSD.js";
|
||||
@@ -20,7 +19,6 @@ initWallpaper();
|
||||
|
||||
const windows = () => [
|
||||
forMonitors(Desktop),
|
||||
forMonitors(FloatingDock),
|
||||
forMonitors(Lockscreen),
|
||||
forMonitors(Notifications),
|
||||
forMonitors(OSD),
|
||||
|
||||
@@ -29,11 +29,11 @@ function getColor(scss) {
|
||||
|
||||
export function hyprlandInit() {
|
||||
sendBatch(
|
||||
Array.from(App.windows).flatMap(([name]) => [
|
||||
App.windows.flatMap(({ 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