This commit is contained in:
2025-10-13 19:06:08 -07:00
parent 9b374a1f35
commit 9bd37f26ac
6 changed files with 22 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
import { bind } from "astal"
import { Gdk, Gtk, Widget } from "astal/gtk3"
import Hyprland from "gi://AstalHyprland"
import {white, primary} from "./colors"
const hyprland = Hyprland.get_default()
@@ -27,8 +28,8 @@ function newWorkspace(ws: number, monitor: number) {
}),
css: bind(hyprland, "focusedWorkspace").as(fws => {
return (fws.id === ws)
? "border-color: #00ffaa"
: "border-color: #ffffff"
? `border-color: ${primary}`
: `border-color: ${white}`
})
}))),
]}>