From 73f46523e23c3539d0d7fa580b0dc63afc24a26b Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 1 Feb 2026 09:32:07 +0400 Subject: Add information about archlinux package --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index b377e06..c4457ed 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ sudo xbps-install glibc-devel pkg-config ## Installation +### From source + ```bash git clone https://github.com/mitjafelicijan/xdgctl.git cd xdgctl @@ -50,6 +52,22 @@ make PREFIX=~/.local install If you manually add new applications to your `~/.local/share/applications` directory, you might need to run `update-desktop-database` again. +### Arch Linux package + +[![xdgctl on AUR](https://img.shields.io/aur/version/xdgctl?label=xdgctl)](https://aur.archlinux.org/packages/xdgctl/) +[![xdgctl-git on AUR](https://img.shields.io/aur/version/xdgctl-git?label=xdgctl-git)](https://aur.archlinux.org/packages/xdgctl-git/) + +xdgctl is available on the [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository): +- [xdgctl](https://aur.archlinux.org/packages/xdgctl/) (release package) +- [xdgctl-git](https://aur.archlinux.org/packages/xdgctl-git/) (git package) + +You can install it using your [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) of choice. + +Example: +```console +$ yay -Sy xdgctl +``` + ## More about XDG ### Application directories -- cgit v1.2.3 From 2e4c14e64dee930aca007647d89cc943ff3822f3 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 1 Feb 2026 09:33:29 +0400 Subject: Remove $ from term example --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c4457ed..805a2bb 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,16 @@ If you manually add new applications to your `~/.local/share/applications` direc [![xdgctl-git on AUR](https://img.shields.io/aur/version/xdgctl-git?label=xdgctl-git)](https://aur.archlinux.org/packages/xdgctl-git/) xdgctl is available on the [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository): + - [xdgctl](https://aur.archlinux.org/packages/xdgctl/) (release package) - [xdgctl-git](https://aur.archlinux.org/packages/xdgctl-git/) (git package) You can install it using your [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) of choice. Example: + ```console -$ yay -Sy xdgctl +yay -Sy xdgctl ``` ## More about XDG -- cgit v1.2.3 From bd1bcf5b88a1df5a993866aa95a7a26593120a5e Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 1 Feb 2026 09:33:58 +0400 Subject: Add newline under section --- README.md | 1 + 1 file changed, 1 insertion(+) (limited to 'README.md') diff --git a/README.md b/README.md index 805a2bb..3108187 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme ``` ### Other useful commands/files + ```bash update-desktop-database ~/.local/share/applications less ~/.config/mimeapps.list -- cgit v1.2.3