summaryrefslogtreecommitdiffstats
path: root/config_files/fm/cli.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config_files/fm/cli.yaml')
-rw-r--r--config_files/fm/cli.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/config_files/fm/cli.yaml b/config_files/fm/cli.yaml
new file mode 100644
index 0000000..3be00f0
--- /dev/null
+++ b/config_files/fm/cli.yaml
@@ -0,0 +1,38 @@
+# A list of commands which output a displayble text.
+# No interaction with the user is provided.
+# When the user picks a command, it will be run and its output displayed in Preview mode.
+#
+# Don't use space in the description, use `_` instead.
+# Don't use a sudo command as it's not possible to ask for a password (yet ?).
+#
+# Some basic shell expansion are made :
+# - %s: the full path of the currently selected file or folder,
+# - %f: the list of the full paths of the flagged files.
+# - %e: the extension of the file.
+# - %n: the filename only.
+# - %p: the full path of the current directory.
+#
+# Example :
+#
+#
+# drag_and_drop:
+# command: "dragon-drop %s"
+#
+drag_and_drop:
+ command: "dragon-drop %s"
+set_wallpaper:
+ command: "nitrogen --set-zoom-fill --save %s"
+man_page:
+ command: "man %s"
+space_used:
+ command: "duf"
+full_system_info:
+ command: "inxi -S -I -D -i -J -M --color"
+simple_system_info:
+ command: "neofetch"
+list_usb:
+ command: "lsusb"
+media_tags:
+ command: "mediainfo %s"
+diff_2_files:
+ command: "diff %f"