Git Product home page Git Product logo

icemenu's Introduction

IceMenu

Menu generator for browse filesystem for icewm.

Install

Compile source code or Download compiled binary from releases.

Usage

You can use --help:

Usage of filebrowser:
  -annex string
    	open script for git annex managed files
  -avfs string
    	mountpoint of avfsdirectory
  -dir string
    	directories for menu, : is separator (default "$HOME")
  -norecur
    	prevent recursive directories 
  -open string
    	open script for files (default "xdg-open")
  -suffix string
    	include only suffixes, default is all, : is separator

example usage in ~/.icewm/menu (if filebrowser is in $PATH):

menuprogreload "Home" folder 10 /home/martin/bin/filebrowser -annex /home/martin/bin/getAndOpen.sh -avfs /home/martin/.avfs -dir /home/martin
menuprogreload Podcasts podcast.png 0 filebrowser -dir /home/martin/Mobile/ExtraPodcast:/home/martin/Video/other:/home/martin/Downloads -suffix .avi:.mp4:.flv:.webm:.mkv:.ts:.mp3 -open /home/martin/bin/playAndDelete.sh -norecur

Configuration

Additional static menu

If exists file $HOME/.icewm/filebrowser/static, their content is use as first items, %s is changed to current path. As local menu is used .filebrowser/static in local directory and .filebrowser_recursive/static for local directory and all subdirectories.

Example:

prog "Commander"  /usr/share/doublecmd/doc/en/images/doublecmd.png  doublecmd -T Stažené '%s'
prog "Terminál"  /usr/share/icons/gnome/16x16/apps/xfce-terminal.png  sakura -r 40 -c 120 --working-directory='%s'
prog "Thunar"  /usr/share/icons/hicolor/16x16/apps/Thunar.png  thunar '%s'

Additional dynamic menu

All files in $HOME/.icewm/filebrowser/, .filebrowser/ and .filebrowser_recursive/ except static are used if their names is contained in current directory. Then _ is used as wildchar.

Example:

  • ~/.icewm/filebrowser/.git used if current directory contain .git file or directory
  • ~/.icewm/filebrowser/_mp3 used if current directory contain *mp3 file or directory

Future plans

in unspecified future/maybe if I get feel or I need it:

  • work with submenu generated at once with main
  • insert param for switch hiden files
  • support for blackbox wm menu format
  • some other functionality...

icemenu's People

Contributors

mleby avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.