George Vlahavas
0fe22cf196
Add twm to the list of avaliable WMs in manpage
8 years ago
George Vlahavas
50dafc7ee4
Remove redundant assignemnt
No need to read the command name twice. This is also assigned a few
lines down.
8 years ago
George Vlahavas
9ebfcfb8ee
Add test for twm
8 years ago
George Vlahavas
ca4ad660bc
Remove redundant branching
No reason to use an else statement and branch the code since the
previous if always returns and exits the function call anyway.
8 years ago
George Vlahavas
7a90065a1b
Look up svg icons with direct path anyway
When an svg icon is provided with a full path in the .desktop file,
strip the extension and path and look it up just as if only the icon
name was given.
8 years ago
George Vlahavas
f54a55b4f4
Return the actual full path to the icon
When no max icon size is requested, always return the full path to the
icon, instead of returning None.
8 years ago
George Vlahavas
96b962902c
Update README.md for twm
8 years ago
George Vlahavas
337a66e60f
Update manpage for twm
8 years ago
George Vlahavas
d9c93fe068
Add support for twm
Using "-f twm". Includes support for twm derivatives, such as ctwm and
vtwm.
8 years ago
George Vlahavas
6e3e2284bb
Do not run sed in place
Since it creates issues with GNU/BSD sed compatibility, don't replace in
place, just redirect the output to the destination.
8 years ago
George Vlahavas
c6f36ab908
Remove space between sed -i and empty prefix
Otherwise it would fail with GNU sed.
8 years ago
George Vlahavas
a26db27e84
Merge pull request #6 from cbettinger/master
Add support for BSD in Makefile
8 years ago
Christian Bettinger
904a21537f
Add support for BSD in Makefile
Suffix to option -i is optional in GNU sed but mandatory in BSD sed. Adding an empty suffix allows proper installation on Linux and BSD.
8 years ago
George Vlahavas
caaa47189d
Add fvwm test
8 years ago
George Vlahavas
9732fec737
Update README.md for fvwm and --max-icon-size
8 years ago
George Vlahavas
80c4320400
Update manpage for Fvwm and --max-icon-size
8 years ago
George Vlahavas
0395fb4a58
Add --max-icon-size option to help text
8 years ago
George Vlahavas
67a173aa34
Add whitespace
Makes it easier to tell functions apart.
8 years ago
George Vlahavas
ab2808fb79
Restrict maximum icon size with --max-icon-size
By using the --max-icon-size option any icons that are larger than the
requested icon size get discarded. This is useful for at least Fvwm,
where the menus can hold icons of any size, with no option to resize to
a maximum size, making for some funny looking menus.
This adds a new dependency on the Pillow library, which is only loaded
if the --max-icon-size option is used.
8 years ago
George Vlahavas
39db10aa58
Add support for Fvwm
Fvwm menus can now be created with -f fvwm.
8 years ago
George Vlahavas
2f5a4761e0
Recurse into xdg directories for .desktop files
Look into all subdirs of xdg directories like /usr/share/applications
etc for .desktop files. This will make applications that put their
.desktop files in places like /usr/share/applications/kde4 visible.
8 years ago
George Vlahavas
e1097cc512
Add a USAGE header
Add a USAGE H1 header and adjust section headers with instructions for
WMs on level deeper.
9 years ago
George Vlahavas
fcefeb5fe6
Update manpage for Python 3
Update manpage dependencies list for compatibility with Python 3.
9 years ago
George Vlahavas
bb7a58714b
Update README.md for python 3
Update dependencies in README.md for Python 3 compatibility.
9 years ago
George Vlahavas
8f730f5a43
Adjust line breaks
Add a few line breaks to keep line lengths below 80 chars.
9 years ago
George Vlahavas
ab19431f3b
Add Python 3 compatibility
Support Python 2 and Python 3 at the same time.
* Make sure modules are loaded with the correct names for each version
* Use a compatibility layer for GTK
* Make sure strings are encoded/decoded properly
9 years ago
George Vlahavas
a01e8e3474
Merge branch 'master' of github.com:gapan/xdgmenumaker
Conflicts:
src/xdgmenumaker
9 years ago
George Vlahavas
7e5e51459a
Apply PEP8 formatting fixes
Fix formatting according to PEP8
9 years ago
George Vlahavas
66eb271433
Use str.format() for string formatting
Replace string concatenation with '+' with str.format()
9 years ago
George Vlahavas
f2860a61b9
Add new tests with icons
Add new tests with icons in the menus for icewm, jwm and pekwm
9 years ago
George Vlahavas
22fe094b44
Apply PEP8 formatting fixes
9 years ago
George Vlahavas
15c68b101d
Fix formatting in manpage (again)
Opening and closing tags should be in the same line to have any effect.
9 years ago
George Vlahavas
c132c354b3
Fix formatting in manpage
Opening and closing tags should be in the same line to have any effect.
9 years ago
George Vlahavas
56225bcbaa
Rename menu creation functions
Remove the menu suffix from menu creation functions.
9 years ago
George Vlahavas
e6695e41a4
Remove "_en" suffix from test files
No need to always specify that language is english. Only specify it when
it's not.
9 years ago
George Vlahavas
c658fd4abb
Fix manpage formatting
Use bold instead of italics for commands.
9 years ago
George Vlahavas
489df54c69
Add $ sign to commands
Add a $ sign in front of commands that need to be run from a shell.
9 years ago
George Vlahavas
ee79146e84
Remove empty line
It causes sections to not be intented well.
9 years ago
George Vlahavas
5bbede96a1
Add test cases for compizboxmenu
9 years ago
George Vlahavas
189331e947
Use applications-other for the main category
Use the applications-other icon as the default for the main category in
compizboxmenu instructions.
9 years ago
George Vlahavas
83ea7c191c
Adjust spacing for compizboxmenu item entries
Add an additional level of spacing for individual menu entries when not
using icons.
9 years ago
George Vlahavas
eda148f75f
Don't use full path for the main menu item
In compizboxmenu, don't use the full path to the "applications" icon in
the main menu item. Compiz boxmenu handles that anyway.
9 years ago
George Vlahavas
56fe1a136e
Add missing parenthesis
Removed by mistake
9 years ago
George Vlahavas
2d0f807207
Revert disallowing compizboxmenu with -n
The --no-submenu option works with compizboxmenu again.
9 years ago
George Vlahavas
c56aad2f17
Edit compizboxmenu section in manpage
Fix minor stuff.
9 years ago
George Vlahavas
515d6783c6
Revert "Always set submenu to False with compizboxmenu"
This reverts commit 469bd16943
.
9 years ago
George Vlahavas
1b0be01194
Move Compiz Boxmenu section
Move the Compiz Boxmenu section towards the top, so that options are
ordered alphabetically.
9 years ago
George Vlahavas
21d2fc3c50
Update manpage for compizboxmenu
9 years ago
George Vlahavas
19768e7652
Update README for compizboxmenu
9 years ago
George Vlahavas
fe6369b379
Adjust --help message for compizboxmenu
Add info about compizboxmenu when running xdgmenumaker -h.
9 years ago