Aylur / astal

Building blocks for creating custom desktop shells
https://aylur.github.io/astal/
GNU Lesser General Public License v2.1
234 stars 23 forks source link

How set windows hidden/invisible on ags run for toggle #107

Closed mylinuxforwork closed 4 hours ago

mylinuxforwork commented 4 hours ago

Have you read through the documentation?

Describe what have you tried so far I have build a calendar widget and I want to show it with the ags toggle. Toggle works fine but all windows are visible with ags run

Describe your question How can I start ags run with hidden selected windows to toggle them later with ags run toggle?

Aylur commented 4 hours ago

https://aylur.github.io/astal/guide/typescript/cli-app#toggling-windows-by-their-name

Aylur commented 4 hours ago

you can make the window invisible at startup with

<window visible={false} />
mylinuxforwork commented 2 hours ago

you can make the window invisible at startup with

<window visible={false} />

Great. That’s what Inwas looking for. Thank you.