nixos-configs/modules/ags/config/widgets/on-screen-keyboard/index.tsx
matt1432 46e719f851
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(ags): change main to index files
2024-12-19 18:04:12 -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);
};