diff options
author | Aylur <[email protected]> | 2024-11-13 22:43:48 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-13 22:43:48 +0100 |
commit | a60ad45f7dde90ee1fca8bf0aecaad682e029623 (patch) | |
tree | 21bde0028f4a2e722210edc85b1be3407c52e6cb /docs/guide/typescript/cli-app.md | |
parent | f7cfc8eb77a395373bf40f83b0d779ece34a6108 (diff) | |
parent | 17aeb9ef945848befdbce0be76ffbeffe27c24d6 (diff) |
Merge pull request #75 from Aylur/docs/remove-ags
docs: remove ags related docs
Diffstat (limited to 'docs/guide/typescript/cli-app.md')
-rw-r--r-- | docs/guide/typescript/cli-app.md | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/docs/guide/typescript/cli-app.md b/docs/guide/typescript/cli-app.md index 85b117c..9217acc 100644 --- a/docs/guide/typescript/cli-app.md +++ b/docs/guide/typescript/cli-app.md @@ -6,7 +6,6 @@ Depending on gtk version import paths will differ ```ts import { App } from "astal/gtk3" - import { App } from "astal/gtk4" ``` @@ -53,20 +52,11 @@ App.start({ }) ``` -:::code-group - -```sh [astal] +```sh astal say hi # hi cli ``` -```sh [ags] -ags request "say hi" -# hi cli -``` - -::: - If you want to run arbitrary JavaScript from CLI, you can use `App.eval` which will evaluate the passed string as the body of an `async` function. @@ -128,18 +118,10 @@ When assigning the `application` prop make sure `name` comes before. Props are set sequentially and if name is applied after application it won't work. ::: -:::code-group - ```sh [astal] astal -t Bar ``` -```sh [ags] -ags toggle Bar -``` - -::: - ## Bundled scripts The produced scripts when bundling can run as the main instance |