forked from mirrors/deskwhich
Add readme
This commit is contained in:
parent
73815e97a9
commit
90f9a13de3
2 changed files with 27 additions and 0 deletions
27
Readme.md
Normal file
27
Readme.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# deskwhich
|
||||||
|
|
||||||
|
Search for .desktop files in XDG\_DATA_DIRS
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
```
|
||||||
|
desktopwhich [OPTIONS] <SEARCH>
|
||||||
|
|
||||||
|
Arguments:
|
||||||
|
<SEARCH> The desktop file to search for
|
||||||
|
|
||||||
|
Options:
|
||||||
|
--skip-dot Skip directories in XDG_DATA_DIRS that start with a dot
|
||||||
|
--skip-home Skip directories in XDG_DATA_DIRS that start with the home directory
|
||||||
|
-a, --all Print all matches in XDG_DATA_DIRS, not just the first
|
||||||
|
--show-tilde Output a tilde for HOME directory
|
||||||
|
-h, --help Print help
|
||||||
|
-V, --version Print version
|
||||||
|
```
|
||||||
|
|
||||||
|
# Building
|
||||||
|
```
|
||||||
|
git clone https://codeberg.org/axtlos/desktopwhich.git
|
||||||
|
cd desktopwhich
|
||||||
|
cargo build --release
|
||||||
|
```
|
||||||
|
The executable will be placed in `./target/release`, it can be copied to any directory in PATH.
|
BIN
rust-analyzer
BIN
rust-analyzer
Binary file not shown.
Loading…
Reference in a new issue