feat(ags4): add cursors
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
6b097eb53f
commit
2fe182cc45
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
import { App, Astal, Gtk } from 'astal/gtk4';
|
import { App, Astal, Gdk, Gtk } from 'astal/gtk4';
|
||||||
import { Variable } from 'astal';
|
import { Variable } from 'astal';
|
||||||
|
|
||||||
import Kompass from 'gi://Kompass';
|
import Kompass from 'gi://Kompass';
|
||||||
|
|
||||||
import { Box, Button, Calendar, CenterBox, Label, MenuButton, Popover, Window } from './subclasses';
|
import { Box, Calendar, CenterBox, Label, MenuButton, Popover, Window } from './subclasses';
|
||||||
|
|
||||||
const { EXCLUSIVE } = Astal.Exclusivity;
|
const { EXCLUSIVE } = Astal.Exclusivity;
|
||||||
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
|
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
|
||||||
|
@ -31,11 +31,12 @@ export default () => {
|
||||||
application={App}
|
application={App}
|
||||||
>
|
>
|
||||||
<CenterBox cssName="centerbox">
|
<CenterBox cssName="centerbox">
|
||||||
<Kompass.Tray />
|
<Kompass.Tray cursor={Gdk.Cursor.new_from_name('pointer', null)} />
|
||||||
|
|
||||||
{styledBox}
|
{styledBox}
|
||||||
|
|
||||||
<MenuButton
|
<MenuButton
|
||||||
|
cursor={Gdk.Cursor.new_from_name('pointer', null)}
|
||||||
hexpand
|
hexpand
|
||||||
halign={CENTER}
|
halign={CENTER}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue