fix(ags): fix default monitor for bar
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
8abca33123
commit
f9113c5334
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ Hyprland.connect('event', (hyprObj) => {
|
||||||
export default ({
|
export default ({
|
||||||
anchor,
|
anchor,
|
||||||
bar,
|
bar,
|
||||||
gdkmonitor = Gdk.Display.get_default()?.get_primary_monitor() as Gdk.Monitor,
|
gdkmonitor = Gdk.Display.get_default()?.get_monitor(0) as Gdk.Monitor,
|
||||||
...rest
|
...rest
|
||||||
}) => {
|
}) => {
|
||||||
const monitor = get_hyprland_monitor_desc(gdkmonitor);
|
const monitor = get_hyprland_monitor_desc(gdkmonitor);
|
||||||
|
|
Loading…
Reference in a new issue