Jas-SinghFSU / HyprPanel

A Bar/Panel for Hyprland with extensive customizability.
MIT License
932 stars 64 forks source link

Calling AGS does nothing #500

Closed monstaflame closed 4 days ago

monstaflame commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

I've just installed HyprPanel following the instructions. When I launch ags in bash, it doesn't start hyprpanel.

To Reproduce Steps to reproduce the behavior:

Calling AGS using bash after a fresh installation :

10:48:57 | user@arch:~$ ags
Scaffolding CLI tool for Astal+TypeScript projects.

Usage:
  ags [command]

Available Commands:
  run         Run an app
  request     Send a request to an instance
  list        List running instances
  inspect     Open up Gtk debug tool
  toggle      Toggle visibility of a Window
  quit        Quit an instances
  types       Generate TypeScript types
  bundle      Bundle an app
  init        Initialize a project directory
  help        Help about any command

Flags:
  -h, --help      help for ags
  -v, --version   version for ags

Use "ags [command] --help" for more information about a command.

Expected behavior A clear and concise description of what you expected to happen.

I expect ags to start HyprPanel, as mentioned in the documentation.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

My .config/ags directory content :

10:52:36 | user@arch:~$ ls .config/ags
total 424K
drwxr-xr-x  17 user user 4.0K Nov 14 10:52 .
drwx------  69 user user 4.0K Nov 14 10:41 ..
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 assets
drwxr-xr-x  13 user user 4.0K Nov 14 10:41 customModules
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 external
drwxr-xr-x   8 user user 4.0K Nov 14 10:41 .git
drwxr-xr-x   4 user user 4.0K Nov 14 10:41 .github
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 globals
drwxr-xr-x   5 user user 4.0K Nov 14 10:41 lib
drwxr-xr-x   8 user user 4.0K Nov 14 10:41 modules
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 nix
drwxr-xr-x 203 user user  12K Nov 14 10:42 node_modules
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 scripts
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 scss
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 services
drwxr-xr-x   2 user user 4.0K Nov 14 10:41 themes
drwxr-xr-x   3 user user 4.0K Nov 14 10:41 widget
-rwxrwxrwx   1 user user  91K Nov 14 10:42 bun.lockb
-rw-r--r--   1 user user 1.4K Nov 14 10:41 config.js
-rw-r--r--   1 user user 1.4K Nov 14 10:41 directoryMonitorService.ts
-rw-r--r--   1 user user   19 Nov 14 10:41 .eslintignore
-rw-r--r--   1 user user  914 Nov 14 10:41 .eslintrc.js
-rw-r--r--   1 user user 1.9K Nov 14 10:41 flake.lock
-rw-r--r--   1 user user 2.4K Nov 14 10:41 flake.nix
-rw-r--r--   1 user user   27 Nov 14 10:41 .gitignore
-rw-r--r--   1 user user  113 Nov 14 10:41 .gitmodules
-rw-r--r--   1 user user  520 Nov 14 10:41 globals.d.ts
lrwxrwxrwx   1 user user   11 Nov 14 10:52 HyprPanel -> ./HyprPanel
-rwxr-xr-x   1 user user  649 Nov 14 10:41 install_fonts.sh
-rw-r--r--   1 user user 1.1K Nov 14 10:41 LICENSE
-rw-r--r--   1 user user 2.0K Nov 14 10:41 main.ts
-rw-r--r--   1 user user  50K Nov 14 10:41 options.ts
-rw-r--r--   1 user user  862 Nov 14 10:41 package.json
-rw-r--r--   1 user user 127K Nov 14 10:41 package-lock.json
-rw-r--r--   1 user user   27 Nov 14 10:41 .prettierignore
-rw-r--r--   1 user user  138 Nov 14 10:41 .prettierrc
-rw-r--r--   1 user user 8.6K Nov 14 10:41 README.md
-rw-r--r--   1 user user  555 Nov 14 10:41 tsconfig.json
lrwxrwxrwx   1 user user   37 Nov 14 10:41 types -> /usr/share/com.github.Aylur.ags/types
HarshIyer commented 1 week ago

I believe this is because of v2 release of ags Release

Jas-SinghFSU commented 1 week ago

@monstaflame Can you please run git pull to get the latest version of Hyprpanel and follow this FAQ section: https://hyprpanel.com/help/faq.html#help-i-upgrade-to-ags-v2-and-now-i-can-t-start-hyprpanel

HarshIyer commented 1 week ago

@monstaflame Can you please run git pull to get the latest version of Hyprpanel and following this FAQ section: https://hyprpanel.com/help/faq.html#help-i-upgrade-to-ags-v2-and-now-i-can-t-start-hyprpanel

Verified, works

monstaflame commented 1 week ago

It worked ! Thanks for your quick response :D Feel free to close this issue.

FearlessSpiff commented 1 week ago

Not for me on arch. It builds some stuff but this what happens:

17:58:29 ~ $ ags
zsh: command not found: ags
FearlessSpiff commented 1 week ago

Update: I followed the main page: https://hyprpanel.com/getting_started/installation.html#ags-v2 where nothing is written, that we now should use agsv1. Now it works.