Doesn't work unfortunately

On Thu, Mar 11, 2021 at 1:12 PM Jonathan Raines <[email protected]>
wrote:

> Key([mod], "y", lazy.spawn("zsh -c 'ytfzf -D'"), desc="run ytfzf in rofi")
>
> On Thu, Mar 11, 2021 at 1:07 PM Tormod Fossum <[email protected]>
> wrote:
>
>> I'm not sure if this will work for you or not, but have if you can launch
>> it from a terminal fine you can maybe write the lazy spawn like this:
>>
>> `Key([mod], "y", lazy.spawn("zsh -c 'ytfzf -D'"), desc="run ytfzf in rofi
>> ")`
>>
>> On Thu, Mar 11, 2021 at 7:41 PM Jonathan Raines <
>> [email protected]> wrote:
>>
>>> OS: Arch Linux
>>> Terminal: Kitty
>>> Shell: zsh
>>> Display Manager: LightDM
>>>
>>> After doing some googling, it seems like the right place to put the env
>>> variables would be */etc/profile* , instead of *.zshrc or .zshenv* .
>>> After logging into lightdm and after qtile loads up, I opened a terminal
>>> and used the command *env *to see the environmental variables.
>>>
>>> *YTFZF_EXTMENU=rofi -dmenu -fuzzy -width 1500*
>>> *YTFZF_ENABLE_FZF_DEFAULT_OPTS=0*
>>>
>>> Are both listed. However using* Key([mod], "y", lazy.spawn('ytfzf -D'),
>>> desc="run ytfzf in rofi") *still does not work.
>>>
>>> I have also installed dmenu, removed these variables so that it defaults
>>> to using dmenu and the keybinding still doesn't work. I really think it has
>>> to do with the way that I am trying to execute the command. This video at
>>> this timestamp <https://youtu.be/Ml55xp--ahA?t=184> shows the user
>>> adding the variables to *.zshrc* and using a hot key to execute *ytfzf
>>> -D *seamlessly. For some reason I cannot get that command to work.
>>> On Thursday, March 11, 2021 at 11:40:55 AM UTC-6 Kai Stian Olstad wrote:
>>>
>>>> On 11.03.2021 16:48, Jonathan Raines wrote:
>>>> > When I *printenv* the YTFZF_EXTMENU variable is listed. I have run
>>>> > *source
>>>> > .zshrc* after exporting the variables. I have logged out/logged back
>>>> > in. I
>>>> > have restarted qtile and the command still doesn't work.
>>>> >
>>>> > Did I not set the environment variable properly?
>>>>
>>>> Probably not, but it all depends on how you start Qtile.
>>>>
>>>> To configure environment correctly is not easy.
>>>> It's somewhat dependent on you distro but how you start Qtile is the
>>>> main one.
>>>>
>>>> If you using a Display Manager you need to add the environment to a
>>>> file
>>>> that is loaded before the DM start so it can pass the environment to
>>>> Qtile.
>>>>
>>>>
>>>> > I have provided screenshots of the *printenv*, the export into my
>>>> > .zshrc
>>>> > file, and the keybind I'm trying to set up in qtile.
>>>>
>>>> Please don't post picture, copy the text in the mail instead.
>>>> Pictures is not searchable and not every mail client a image viewer
>>>> like
>>>> CLI clients.
>>>>
>>>>
>>>> --
>>>> Kai Stian Olstad
>>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/qtile-dev/5b7c5ca6-22ca-4929-8040-6565a697b176n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/qtile-dev/5b7c5ca6-22ca-4929-8040-6565a697b176n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/qtile-dev/CAJYZU%3D_C1w%2BToz7%3DkLpYYziYk_fp%2BCWxS54eAHLCPk2AgPh3uA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/qtile-dev/CAJYZU%3D_C1w%2BToz7%3DkLpYYziYk_fp%2BCWxS54eAHLCPk2AgPh3uA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CANVNN62gjJwDYsAoC61vGfjs%3DNHj4JYJjZhcdKT4CdjOD7eK0Q%40mail.gmail.com.

Reply via email to