fix(ags): fix default monitor for bar
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-06-19 13:03:03 -04:00
parent 8abca33123
commit f9113c5334

View file

@ -53,7 +53,7 @@ Hyprland.connect('event', (hyprObj) => {
export default ({
anchor,
bar,
gdkmonitor = Gdk.Display.get_default()?.get_primary_monitor() as Gdk.Monitor,
gdkmonitor = Gdk.Display.get_default()?.get_monitor(0) as Gdk.Monitor,
...rest
}) => {
const monitor = get_hyprland_monitor_desc(gdkmonitor);