mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
1.18k stars 91 forks source link

[BUG] Problem with AGS (Sidebar/Clock does nothing on click waybar) #492

Open mrjxtr opened 12 hours ago

mrjxtr commented 12 hours ago

Describe the bug Ever since this ags bug happened where when you click the ML4W logo or the time, it does nothing, I have tried multiple ways to make it work, including reinstalling ags, updating to a newer version of ML4w, installing a new ML4W dotfile in a new folder. But when I click them, still nothing happens.

In addition to this, using the welcome app to "update/reinstall ml4w dotfiles" no longer works. It just opens the terminal and closes. So I have to do it manually everytime using yay -Syu then running ml4w-hyprland-setup.

What I did so far:

I also found the waybar modules.json with contains this the code below. (I am not sure if this helps but I tried)

❯ ags toggle sidebar
error: there is no "astal" instance runnning

❯ ags toggle calendar
error: there is no "astal" instance runnning

modules.json

  // ML4W Welcome App
  "custom/ml4w-welcome": {
    "on-click": "ags toggle sidebar",
    "on-click-right": "sleep 0.1 && ~/.config/ml4w/apps/ML4W_Welcome-x86_64.AppImage",
    "format": " ",
    "tooltip-format": "Open Sidebar"
  },

  // Clock
  "clock": {
        "format": "{:%H:%M %a %y.%Om.%Od}",
    "on-click": "ags toggle calendar",
    "tooltip": false
  },

Distribution (please complete the following information):

Additional context I have ml4w-hyprland-git 2.9.6.7.r89.g96f8ac1-1 (+0 0.00) (Installed)

mylinuxforwork commented 11 hours ago

@mrjxtr I will release 2.9.7 later today. Please test with the new version. It's important that ags 2.0.x and astal are installed correctly. Please check the ags github page.

mrjxtr commented 11 hours ago

@mrjxtr I will release 2.9.7 later today. Please test with the new version. It's important that ags 2.0.x and astal are installed correctly. Please check the ags github page.

I will, thanks. Hopefully it fixes my issue 🙏🏼

and yes, I do have ags 2.0.x and astal installed