Re: Script for creating Application Menu



Hi.
I made a librep menu generator for .desktop files in a
/usr/share/applications directory, it is attached. 
Let me know if it works for any of you.

Put it in a load path and add the following into your .sawfishrc:

(require 'mk-saw-menu)
(write-saw-menu)
(require 'saw-menu)
(setq apps-menu saw-apps-menu)

You can make it an executable script by uncommenting the last line in the
mk-saw-menu.jl, i.e. (write-saw-menu) and adding the following to the
begining and chmoding the file to +x:

#! /bin/sh
exec rep --batch "$0" "$@"
!#

Cheers

Attachment: mk-saw-menu.jl
Description: mk-saw-menu

-- 
Matthew Love


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]