Browse Source

Fix path-handling for user-local applications

Getty Ritter 6 years ago
parent
commit
c2166b723b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dmesktop.py

+ 1 - 1
dmesktop.py

@@ -16,7 +16,7 @@ DMENU_CMD = ['dmenu', '-i', '-l', '10']
 # this is probably not right, in the long term!
 XDG_APP_DIRS = [
     '/usr/share/applications',
-    os.path.join(os.getenv('HOME'), '/.local/share/applications'),
+    os.path.join(os.getenv('HOME'), '.local/share/applications'),
 ]
 
 class DesktopEntry(NamedTuple):