nixos-configs/nixosModules/ags/config/widgets/on-screen-keyboard/main.tsx
matt1432 1a9c89df97
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags osk): get height dynamically
2024-11-25 21:17:36 -05:00

27 lines
634 B
TypeScript

import { execAsync } from 'astal';
import { Astal } from 'astal/gtk3';
import OskWindow from './osk-window';
import Gesture from './gesture';
import Keyboard from './keyboard';
export default () => {
execAsync('ydotoold').catch(() => { /**/ });
return Gesture((
<OskWindow
name="osk"
namespace="noanim-osk"
layer={Astal.Layer.OVERLAY}
anchor={
Astal.WindowAnchor.BOTTOM |
Astal.WindowAnchor.LEFT |
Astal.WindowAnchor.RIGHT
}
>
<Keyboard />
</OskWindow>
) as OskWindow);
};