1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

WindowServer: Populate system menu with app launchers from /res/apps

The new system directory /res/apps now contains ".af" files describing
applications (name, category, executable path, and icon.)
These are used to populate the system menu with application shortcuts.

This will replace the Launcher app. :^)
This commit is contained in:
Andreas Kling 2019-11-11 09:40:09 +01:00
parent 37329f829b
commit b6a6f34caa
13 changed files with 114 additions and 9 deletions

8
Base/res/apps/Browser.af Normal file
View file

@ -0,0 +1,8 @@
[App]
Name=Browser
Executable=/bin/Browser
Category=Internet
[Icons]
16x16=/res/icons/16x16/filetype-html.png
32x32=/res/icons/32x32/filetype-html.png

View file

@ -0,0 +1,8 @@
[App]
Name=Calculator
Executable=/bin/Calculator
Category=Utilities
[Icons]
16x16=
32x32=

View file

@ -0,0 +1,8 @@
[App]
Name=ChanViewer
Executable=/bin/ChanViewer
Category=Internet
[Icons]
16x16=/res/icons/16x16/app-chanviewer.png
32x32=/res/icons/32x32/app-chanviewer.png

View file

@ -0,0 +1,8 @@
[App]
Name=DisplayProperties
Executable=/bin/DisplayProperties
Category=Utilities
[Icons]
16x16=/res/icons/16x16/app-display-properties.png
32x32=/res/icons/32x32/app-display-properties.png

View file

@ -0,0 +1,8 @@
[App]
Name=FileManager
Executable=/bin/FileManager
Category=Utilities
[Icons]
16x16=/res/icons/16x16/filetype-folder.png
32x32=/res/icons/32x32/filetype-folder.png

View file

@ -0,0 +1,8 @@
[App]
Name=FontEditor
Executable=/bin/FontEditor
Category=FontEditor
[Icons]
16x16=/res/icons/16x16/app-font-editor.png
32x32=/res/icons/FontEditor.png

View file

@ -0,0 +1,8 @@
[App]
Name=HackStudio
Executable=/bin/HackStudio
Category=Development
[Icons]
16x16=/res/icons/16x16/app-hack-studio.png
32x32=/res/icons/32x32/app-hack-studio.png

View file

@ -0,0 +1,8 @@
[App]
Name=HexEditor
Executable=/bin/HexEditor
Category=Development
[Icons]
16x16=/res/icons/16x16/app-hexeditor.png
32x32=/res/icons/32x32/app-hexeditor.png

View file

@ -0,0 +1,8 @@
[App]
Name=IRCClient
Executable=/bin/IRCClient
Category=Internet
[Icons]
16x16=/res/icons/16x16/app-irc-client.png
32x32=/res/icons/32x32/app-irc-client.png

View file

@ -0,0 +1,7 @@
[App]
Name=PaintBrush
Executable=/bin/PaintBrush
[Icons]
16x16=/res/icons/16x16/app-paintbrush.png
32x32=/res/icons/32x32/app-paintbrush.png

View file

@ -0,0 +1,8 @@
[App]
Name=SystemMonitor
Executable=/bin/SystemMonitor
Category=Utilities
[Icons]
16x16=/res/icons/16x16/app-system-monitor.png
32x32=/res/icons/32x32/app-system-monitor.png

View file

@ -0,0 +1,8 @@
[App]
Name=Terminal
Executable=/bin/Terminal
Category=Utilities
[Icons]
16x16=/res/icons/16x16/app-terminal.png
32x32=/res/icons/32x32/app-terminal.png