From 5c8ae15972df97abd909c0c99827e69f6c2770cb Mon Sep 17 00:00:00 2001 From: xyz Date: Mon, 25 Oct 2021 23:09:06 -0700 Subject: use alacritty as default file manager for xdg-open, to aviod some gui open dir with qmmp --- home/xyz/.config/mimeapps.list | 5 +++-- home/xyz/.local/share/applications/file.desktop | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 home/xyz/.local/share/applications/file.desktop (limited to 'home') diff --git a/home/xyz/.config/mimeapps.list b/home/xyz/.config/mimeapps.list index 9a21f46e..e81df986 100644 --- a/home/xyz/.config/mimeapps.list +++ b/home/xyz/.config/mimeapps.list @@ -3,7 +3,8 @@ # but if you what to create new .desktop desktop entries with new name, you need to put it in ~/.local/share/applications/ [Default Applications] +application/pdf=org.pwmt.zathura.desktop; image/gif=nsxiv.desktop; -image/png=nsxiv.desktop; image/jpeg=nsxiv.desktop; -application/pdf=org.pwmt.zathura.desktop; +image/png=nsxiv.desktop; +inode/directory=file.desktop; diff --git a/home/xyz/.local/share/applications/file.desktop b/home/xyz/.local/share/applications/file.desktop new file mode 100644 index 00000000..5d272b17 --- /dev/null +++ b/home/xyz/.local/share/applications/file.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=File Manager +Exec=/usr/bin/alacritty --working-directory %u -- cgit v1.2.3-70-g09d2