But I have two problem, the first one is that to use switch-to-configuration
, I need sudo access, and ags doesn't have them. I call the widget with a hyprland binding and thus the command ags -t widget
and it's impossible to put a sudo there due to hyprland system.
\nMy second problem is that the call hyprpanel
which is a wrapper for ags widget, is attached to the environment and thus the widget freeze because of non returning call.
\nDo you know how I can solve both issue ?
pkexec
exec
, it will block the eventloop until it returns, use execAsync
-
Hello,
But I have two problem, the first one is that to use |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
pkexec
exec
, it will block the eventloop until it returns, useexecAsync