On 11.03.2021 19:41, Jonathan Raines 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*

After reading the documentation more carefully I see that it's possible to use a configuration file
~/.config/ytfzf/conf.sh


Are both listed. However using* Key([mod], "y", lazy.spawn('ytfzf -D'),
desc="run ytfzf in rofi") *still does not work.

After some testing and debugging it looks like ytfzf is failing, it thinks ytfzf is started with input from stdin.
The code in ytfzf that fails is the following

    #if stdin is given and no input (including -) is given, throw error
    if [ ! -t 0 -a -z "$*" ]; then
printf "\033[31mERROR[#04]: Use - when reading from stdin\033[000m\n"
      exit 1


--
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/a9cab9ba74b972459144f137bc34dd9a%40olstad.com.

Reply via email to