Skip to content

Commit

Permalink
test more paths to detect the location of libg3kbswitch.so
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Apr 20, 2023
1 parent 99821a4 commit 90f3a86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/xkbswitch.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if !exists('g:XkbSwitchLib') && $XDG_SESSION_DESKTOP ==# 'gnome'
let g:XkbSwitchLib = '/usr/local/lib/libg3kbswitch.so'
elseif filereadable('/usr/lib/libg3kbswitch.so')
let g:XkbSwitchLib = '/usr/lib/libg3kbswitch.so'
elseif filereadable('/usr/local/lib64/libg3kbswitch.so')
let g:XkbSwitchLib = '/usr/local/lib64/libg3kbswitch.so'
elseif filereadable('/usr/lib64/libg3kbswitch.so')
let g:XkbSwitchLib = '/usr/lib64/libg3kbswitch.so'
endif
endif

Expand Down

0 comments on commit 90f3a86

Please sign in to comment.