]> git.phdru.name Git - dotfiles.git/commitdiff
Feat(.mc/menu): Show the filename using `gxmessage` master
authorOleg Broytman <phd@phdru.name>
Tue, 31 Mar 2026 17:47:00 +0000 (20:47 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 31 Mar 2026 17:47:00 +0000 (20:47 +0300)
.mc/menu

index 0fab82426c10646053dade505434e0c09ad9a964..11409c6fe4cb918033b9e764c6b9cff495aa0fff 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -16,6 +16,10 @@ shell_patterns=0
      $CMD "$f"
    done
 
      $CMD "$f"
    done
 
++ t lr
+x  Show the filename
+   echo %f | gxmessage -buttons Ok -default Ok -file -
+
 + t lr
 p  View the file in a pager
    exec ${PAGER:-more} %f
 + t lr
 p  View the file in a pager
    exec ${PAGER:-more} %f