diff --git a/.config/quickshell/modules/common/functions/file_utils.js b/.config/quickshell/modules/common/functions/file_utils.js index 281921da1..7b6c68f75 100644 --- a/.config/quickshell/modules/common/functions/file_utils.js +++ b/.config/quickshell/modules/common/functions/file_utils.js @@ -1,3 +1,8 @@ +/** + * Trims fthe File protocol off the input string + * @param {string} str + * @returns {string} + */ function trimFileProtocol(str) { return str.startsWith("file://") ? str.slice(7) : str; }