mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +05:30
ranger gcode preview script
This commit is contained in:
parent
1fb21a0543
commit
1a2ac810e3
2 changed files with 17 additions and 0 deletions
|
@ -52,6 +52,9 @@ SQLITE_ROW_LIMIT=5 # Display only the first and the last (<limit> - 1) recor
|
|||
|
||||
handle_extension() {
|
||||
case "${FILE_EXTENSION_LOWER}" in
|
||||
gcode)
|
||||
gcode-stats "${FILE_PATH}" && exit 5
|
||||
exit 1;;
|
||||
## Archive
|
||||
a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\
|
||||
rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue