mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix: Fixed bar corners not appearing on multi monitor setup
This commit is contained in:
parent
be56c956c8
commit
9bf673fb1a
1 changed files with 6 additions and 4 deletions
|
|
@ -103,8 +103,9 @@ export const Bar = async (monitor = 0) => {
|
|||
});
|
||||
}
|
||||
|
||||
export const BarCornerTopleft = (id = '') => Widget.Window({
|
||||
name: `barcornertl${id}`,
|
||||
export const BarCornerTopleft = (monitor = 0) => Widget.Window({
|
||||
monitor,
|
||||
name: `barcornertl${monitor}`,
|
||||
layer: 'top',
|
||||
anchor: ['top', 'left'],
|
||||
exclusivity: 'normal',
|
||||
|
|
@ -112,8 +113,9 @@ export const BarCornerTopleft = (id = '') => Widget.Window({
|
|||
child: RoundedCorner('topleft', { className: 'corner', }),
|
||||
setup: enableClickthrough,
|
||||
});
|
||||
export const BarCornerTopright = (id = '') => Widget.Window({
|
||||
name: `barcornertr${id}`,
|
||||
export const BarCornerTopright = (monitor = 0) => Wmonitorget.Window({
|
||||
monitor,
|
||||
name: `barcornertr${monitor}`,
|
||||
layer: 'top',
|
||||
anchor: ['top', 'right'],
|
||||
exclusivity: 'normal',
|
||||
|
|
|
|||
Loading…
Reference in a new issue