mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
replace manual file:// replacement with util functions
This commit is contained in:
@@ -45,7 +45,7 @@ Singleton {
|
||||
action: actionName,
|
||||
execute: ((path) => (args) => {
|
||||
Quickshell.execDetached([path, ...(args ? args.split(" ") : [])]);
|
||||
})(filePath.toString().replace("file://", ""))
|
||||
})(FileUtils.trimFileProtocol(filePath.toString()))
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ Singleton {
|
||||
|
||||
FolderListModel {
|
||||
id: userActionsFolder
|
||||
folder: `file://${Directories.userActions}`
|
||||
folder: Qt.resolvedUrl(Directories.userActions)
|
||||
showDirs: false
|
||||
showHidden: false
|
||||
sortField: FolderListModel.Name
|
||||
|
||||
Reference in New Issue
Block a user