2024-11-25 17:26:48 -05:00
|
|
|
import { execAsync } from 'astal';
|
2024-11-25 12:09:03 -05:00
|
|
|
import { Astal } from 'astal/gtk3';
|
|
|
|
|
|
|
|
import OskWindow from './osk-window';
|
|
|
|
import Gesture from './gesture';
|
|
|
|
import Keyboard from './keyboard';
|
|
|
|
|
|
|
|
|
|
|
|
export default () => {
|
2024-11-25 20:37:59 -05:00
|
|
|
execAsync('ydotoold').catch(() => { /**/ });
|
2024-11-25 12:09:03 -05:00
|
|
|
|
2024-11-25 17:26:48 -05:00
|
|
|
return Gesture((
|
2024-11-25 12:09:03 -05:00
|
|
|
<OskWindow
|
|
|
|
name="osk"
|
|
|
|
namespace="noanim-osk"
|
|
|
|
|
2024-11-25 21:17:36 -05:00
|
|
|
layer={Astal.Layer.OVERLAY}
|
2024-11-25 12:09:03 -05:00
|
|
|
anchor={
|
|
|
|
Astal.WindowAnchor.BOTTOM |
|
|
|
|
Astal.WindowAnchor.LEFT |
|
|
|
|
Astal.WindowAnchor.RIGHT
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<Keyboard />
|
|
|
|
</OskWindow>
|
2024-11-25 17:26:48 -05:00
|
|
|
) as OskWindow);
|
2024-11-25 12:09:03 -05:00
|
|
|
};
|