-
Notifications
You must be signed in to change notification settings - Fork 9
/
menurc.py
36 lines (29 loc) · 1.73 KB
/
menurc.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
import os
home = os.environ["HOME"]
""" List of paths to find launchers and icons, given in order of priority. They
are searched recursively, so there's no need to enter subpaths. """
launcherpaths=["/usr/share/applications", home + "/.local/share/applications"]
iconpaths=["/usr/share/icons/Adwaita", "/usr/share/icons/oxygen", "/usr/share/icons/hicolor"]
""" List of categories """
""" Name in .desktop file Display name Icon SubcategoryOf"""
categories = [ ["Utility", "Accessories", "applications-utilities", ""],
["Development", "Development", "applications-development", ""],
["Education", "Education", "applications-science", ""],
["Game", "Games", "applications-games", ""],
["Graphics", "Graphics", "applications-graphics", ""],
["Network", "Internet", "applications-internet", ""],
["Office", "Office", "applications-office", ""],
["AudioVideo", "MultiMedia", "applications-multimedia", ""],
["Settings", "Settings", "applications-accessories", ""],
["System", "System", "applications-system", ""],
["Wine", "Wine", "wine", ""] ]
""" Favorite applications by name of .desktop file.
e.g., favorites = ["mozilla-firefox.desktop", "gimp.desktop"], etc. """
favorites = []
""" For launching terminal apps (Terminal=true in launcher). Will be launched
with 'terminal -e Exec'."""
terminal = "xterm"
""" By default, entries with OnlyShowIn= (! awesome) will not be added. You can
override this here. """
ignore_OnlyShowIn = False