nixos-configs/nixosModules/ags/config/widgets/on-screen-keyboard/main.tsx
matt1432 d1982d10c4
All checks were successful
Discord / discord commits (push) Has been skipped
fix(ags): mute ydotoold error
2024-11-25 20:37:59 -05:00

28 lines
688 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"
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={
Astal.WindowAnchor.BOTTOM |
Astal.WindowAnchor.LEFT |
Astal.WindowAnchor.RIGHT
}
layer={Astal.Layer.OVERLAY}
>
<Keyboard />
</OskWindow>
) as OskWindow);
};