mark folders better
This commit is contained in:
@@ -182,6 +182,8 @@ class entry_collection:
|
||||
launcher = "menu"
|
||||
if row[1][-1] == '/' and os.path.isdir(row[1]):
|
||||
launcher = "dir"
|
||||
if row[0][-1] != "/":
|
||||
row[0] += "/"
|
||||
self.entries.append(
|
||||
launch_item(
|
||||
command = row[1],
|
||||
@@ -213,7 +215,7 @@ class entry_collection:
|
||||
self.dirs.append(
|
||||
launch_item(
|
||||
command = d,
|
||||
description = d,
|
||||
description = d + "/",
|
||||
launcher = "dir"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user