Code Monkey home page Code Monkey logo

admiral's People

Contributors

henning-k avatar kbrgl avatar sector-f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

admiral's Issues

Use user's login shell to execute commands instead of executing them directly

First off, I've been using Admiral for a week now and it works incredibly well. However, it's inconvenient to have to type the entire path of the binary to be run. It would be rather convenient if Admiral took inspiration from Baskerville's SXHKD and used SHELL -c PATH (where shell is the user's default login shell, accessible through the environment variable $SHELL and PATH is the path specified in the admiral.toml) to run commands. This is beneficial for three reasons:

  • We no longer have to type the entire path of the binary
  • Admiral now magically supports variable expansion (so that variables like ~ and $PATH can be automatically expanded)
  • The path field in the admiral.toml can be changed from an array into a string, even when passing arguments to the program. Using arrays was inconvenient anyway.

Edit: I created a pull request. PR #2 fixes this issue.

Reload config file

Hello,

I am using admiral and I found it amazing.
I was wondering how to reload the config file on demand, while admiral is running, without having to restart the entire X window system

Can I use

pkill -USR1 -x admiral

to reload?

I saw that signals are not suppported at the moment in Rust...

Thanks

Use a threadpool for static items

Currently a new thread is spawned for every occurrence of every item specified in items. As thread spawning is somewhat expensive, this is not preferable. It would probably be beneficial to use a threadpool (perhaps with only a single worker) for items marked as static so as to reduce the number of threads spawned.

Package into AUR

Is there any plan to package this into the AUR or something equivalent so it won't be required to build from source every time?

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.