what am i supposed to do to fix it ?

On Tuesday, July 16, 2024 at 11:09:58 PM UTC+5:30 Kai Stian Olstad wrote:

> On Tue, Jul 16, 2024 at 10:01:17AM -0700, Piyush Chaudhary wrote:
> >config.py:
> >
> >Key([], "XF86AudioMute", lazy.spawn("bash", "-c", "pactl set-sink-mute 0
> >toggle && /home/Odd/.config/qtile/dunst_volume_monitor.sh")
> >Key([], "XF86AudioLowerVolume", lazy.spawn("bash", "-c", "pactl
> >set-sink-volume 0 -10% && 
> /home/Odd/.config/qtile/dunst_volume_monitor.sh"),
> >Key([], "XF86AudioRaiseVolume", lazy.spawn("bash", "-c", "pactl
> >set-sink-volume 0 +10% && /home/Odd/.config/qtile/dunst_volume_monitor"),
> >
> >i did as told above but noting worked, additionally qtile broke down in a
> >weird way like not opening terminal, not switching workspaces, not opening
> >applications:
>
> My solution doesn't work, I have seen this someplace so I thought it would
> work.
>
> But as Tycho said, it has shell=True so you can do this.
> Key([], "XF86AudioMute", lazy.spawn("pactl set-sink-mute 0 toggle && 
> /home/Odd/.config/qtile/dunst_volume_monitor.sh", shell=True),
>
>
> >On Tuesday, July 16, 2024 at 8:54:59 PM UTC+5:30 Tycho Andersen wrote:
> >
> >> toggle && /home/Odd/.config/qtile/dunst_volume_monitor.sh")),
> >>
> >> There is `shell=True` though, which you can use to spawn a command
> >> inside a shell.
>
> Aha, thanks. It's not in the documentation unfortunately.
> But found a PR, https://github.com/qtile/qtile/pull/4709, that it also 
> support
> env :-)
>
> -- 
> Kai Stian
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qtile-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/2b46fd06-30d9-44a1-8edf-c03ec0b4f009n%40googlegroups.com.

Reply via email to