From 90f9a13de3eb985aac0c9b5c4b8882cdaa896062 Mon Sep 17 00:00:00 2001 From: axtlos Date: Fri, 19 Apr 2024 23:13:43 +0200 Subject: Add readme --- Readme.md | 27 +++++++++++++++++++++++++++ rust-analyzer | Bin 15428432 -> 0 bytes 2 files changed, 27 insertions(+) create mode 100644 Readme.md delete mode 100755 rust-analyzer diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..47de5e4 --- /dev/null +++ b/Readme.md @@ -0,0 +1,27 @@ +# deskwhich + +Search for .desktop files in XDG\_DATA_DIRS + +# Usage +``` +desktopwhich [OPTIONS] + +Arguments: + 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. diff --git a/rust-analyzer b/rust-analyzer deleted file mode 100755 index f4ff87d..0000000 Binary files a/rust-analyzer and /dev/null differ -- cgit v1.2.3