Git Product home page Git Product logo

fzf_wal's People

Contributors

dependabot[bot] avatar pyup-bot avatar renovate-bot avatar sholland1 avatar surskitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sholland1

fzf_wal's Issues

Potentially replace pidof dependancy

  • fzf-wal version: fzf_wal-0.1.2
  • Python version: 3.9
  • Operating System: macOS

Description

The macOS version of pidof and the standard linux version of pidof are not compatible. Maybe that command can be replaced with a more portable solution. The program works for me up to when I try to make an actual selection. before install pidof it crashed after install pidof it throws pidof: illegal option -- s

What I Did

  1. fzf-wal
  2. select scheme
  3. press return<\kbd>
pidof: illegal option -- s # With pidof installed through brew

# without pidof installed at all
Traceback (most recent call last):
  File "/opt/homebrew/bin/fzf-wal", line 8, in <module>
    sys.exit(main())
  File "/opt/homebrew/lib/python3.9/site-packages/fzf_wal/fzf_wal.py", line 113, in main
    pywal.reload.env()
  File "/opt/homebrew/lib/python3.9/site-packages/pywal/reload.py", line 84, in env
    kitty()
  File "/opt/homebrew/lib/python3.9/site-packages/pywal/reload.py", line 53, in kitty
    if shutil.which("kitty") and util.get_pid("kitty"):
  File "/opt/homebrew/lib/python3.9/site-packages/pywal/util.py", line 182, in get_pid
    subprocess.check_output(["pidof", "-s", name])
  File "/opt/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/opt/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/opt/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/homebrew/Cellar/[email protected]/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pidof'

Edit: I just realized that maybe this is coming from pywal?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.