added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 236b8c2a6b
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import { Hyprland } from "../imports.js";
export const getFocusedWorkspace = (self) =>
self.children.forEach((btn) => {
btn.className =
btn.attribute.index === Hyprland.active.workspace.id
? "focused"
: "";
btn.visible = Hyprland.workspaces.some(
(ws) => ws.id === btn.attribute.index,
);
});