]> Sergey Matveev's repositories - nnn.git/commit
xdgdefault: make dmenu case-insensitive, fix style
authorNRK <nrk@disroot.org>
Wed, 28 Jul 2021 06:30:30 +0000 (12:30 +0600)
committerNRK <nrk@disroot.org>
Wed, 28 Jul 2021 06:30:30 +0000 (12:30 +0600)
commitf3c29fe81a32fe062574b8a4d2a7101c9cc8a92d
treefc5a2576d0ed88c250ffff0741adee55de6d1e5c
parent88e38f1efcf352a7f5718d95080faa4526afd7bb
xdgdefault: make dmenu case-insensitive, fix style

Most *.desktop entries have same name as their application name so this
is not an issue most of the time. However in the case of Neovim, the
application name is "Neovim" while the desktop entry is "nvim.desktop"

Since dmenu is case sensitive by default this means that searching
"neovim" will not show any results since the N is not capitalized and
the desktop entry name is "nvim"

fzf doesn't have this issue since its case-insensitive/fuzzy by
default. Making dmenu case-insensitive solves this.

Also fix the indentation to be consistent with the rest of the script.
plugins/xdgdefault